Vectornaut
  • Joined on 2019-09-28
Vectornaut pushed to main at Vectornaut/dyna3 2025-04-03 18:34:40 +00:00
b86f176151 feat: Continuous integration via Forgejo Actions/runners (#75)
Vectornaut commented on pull request StudioInfinity/dyna3#75 2025-04-02 19:52:35 +00:00
Set up continuous integration in Forgejo

No, I have now updated the "branch protection" settings for the repository so that if /test is failing, merge is not allowed.

Awesome. I've confirmed that I'm blocked from merging too.

Vectornaut commented on pull request StudioInfinity/dyna3#75 2025-04-02 19:47:29 +00:00
Set up continuous integration in Forgejo

Oops, I can still merge this PR even in a failing state. I will try to adjust the settings.

While you look at the repository settings (or review efb2d39 and 440b1df), I'll check whether this…

Vectornaut commented on pull request StudioInfinity/dyna3#75 2025-04-02 19:43:35 +00:00
Set up continuous integration in Forgejo

It's not too big a deal either way since I can't imagine either of us merging a failing PR. but do feel free to commit and revert a bad commit to check if you like. Just let me know whether you…

Vectornaut pushed to forgejo-ci at Vectornaut/dyna3 2025-04-02 19:40:41 +00:00
3f4fe582b3 Fail CI to confirm that merging is blocked
Vectornaut commented on pull request StudioInfinity/dyna3#75 2025-04-02 19:31:50 +00:00
Set up continuous integration in Forgejo

What I meant was: it was our intention that trunk be installed in a directory ci-bin created at the top level of the project hierarchy.

Got it! It turns out that the setup-trunk action…

Vectornaut pushed to forgejo-ci at Vectornaut/dyna3 2025-04-02 19:31:31 +00:00
440b1dfb3d Clarify where setup-trunk puts the Trunk binary
efb2d39042 Clarify where stuff happens in the CI workflow
Compare 2 commits »
Vectornaut commented on pull request StudioInfinity/dyna3#75 2025-04-02 18:57:08 +00:00
Set up continuous integration in Forgejo

The GitHub Actions documentation is clearer about [how the path to a local action is specified](https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#example-using

Vectornaut created branch curvature-regulators_head-start in Vectornaut/dyna3 2025-04-02 05:32:44 +00:00
Vectornaut pushed to curvature-regulators_head-start at Vectornaut/dyna3 2025-04-02 05:32:44 +00:00
47cc559cd6 Add a half-curvature regulator
b117c00992 Specify the values of the frozen entries
ca9de34427 Interpolate sphere ID and label, as intended
25f446499b Introduce a regulator trait
f1f87e97be Store a product regulator's subjects in an array
Compare 7 commits »
Vectornaut commented on pull request StudioInfinity/dyna3#75 2025-04-02 04:28:46 +00:00
Set up continuous integration in Forgejo

In the setup-trunk action, you added the comment: "Assume we remain in the top-level directory of the checkout." It seems to me, though, that it doesn't really matter where setup-trunk runs;…

Vectornaut commented on pull request StudioInfinity/dyna3#75 2025-04-02 04:24:53 +00:00
Set up continuous integration in Forgejo

Thanks for taking care of the Trunk install path change! In the process, did you notice whether merging was disabled on the commits where CI failed? (If not, I'll check with a deliberately failing…

Vectornaut commented on pull request StudioInfinity/dyna3#75 2025-04-02 02:47:51 +00:00
Set up continuous integration in Forgejo

Oops, I see that you just discovered the same thing.

Vectornaut commented on pull request StudioInfinity/dyna3#75 2025-04-02 02:47:25 +00:00
Set up continuous integration in Forgejo

Oh, now I remember how to do this! You have to write to the GITHUB_PATH variable. I did this in the [setup-rust](https://code.studioinfinity.org/Vectornaut/dyna3/src/commit/bbfdf2b87f562772aa02

Vectornaut commented on pull request StudioInfinity/dyna3#75 2025-04-01 17:54:48 +00:00
Set up continuous integration in Forgejo

People in the Rust ecosystem consistently seem to say that CARGO_HOME is meant to be set before setting up the Rust toolchain [1][[2](https://github.com/ru

Vectornaut commented on pull request StudioInfinity/dyna3#75 2025-04-01 07:27:01 +00:00
Set up continuous integration in Forgejo

The ideal is that as long as a "cargo" command of sufficiently high version is findable/executable when invoked simply as "cargo", then nothing else from the context/environment is needed/used,…

Vectornaut commented on pull request StudioInfinity/dyna3#75 2025-03-31 18:14:42 +00:00
Set up continuous integration in Forgejo

In fact, there seems to be a CARGO_HOME environment variable. I'd rather set that to someplace in our directory tree to keep this self-contained.

Could you clarify what you mean by "self-conta…

Vectornaut commented on pull request StudioInfinity/dyna3#75 2025-03-30 20:08:15 +00:00
Set up continuous integration in Forgejo

Good point: it would be nice to make the setup-trunk action more container-independent. I think I've done this in commit df2d458. There may be a cleaner way to do it, but this is the best I…

Vectornaut pushed to forgejo-ci at Vectornaut/dyna3 2025-03-30 20:05:34 +00:00
df2d45816c Find the home directory instead of hard-coding it
Vectornaut commented on pull request StudioInfinity/dyna3#75 2025-03-29 06:13:26 +00:00
Set up continuous integration in Forgejo

By the way, it turns out that Sycamore doesn't currently enforce a minimum Rust version at compile time, but the maintainer has [okayed](https://github.com/sycamore-rs/sycamore/issues/191#issuecomm