Skip to content

Conversation

flysand7
Copy link
Contributor

The CI build failure was caused by the deprecation of v3 artifact actions, which includes download-artifact@v3 and checkout@v3. See https://github.com/orgs/community/discussions/142581 for details.

This fixes the versions of the GitHub actions so that the CI can pass. The seanmiddleditch/gha-setup-ninja action has been explicitly set to use @v6 version, since it's better for the thing to work than to break randomly. Well it's an archived repo, so like what's the difference anyway.

The CI build failure was caused by the deprecation of v3 artifact
actions, which includes download-artifact@v3 and checkout@v3. See
https://github.com/orgs/community/discussions/142581 for details.

This fixes the versions of the GitHub actions so that the CI can pass.
The seanmiddleditch/gha-setup-ninja action has been explicitly set to
use @v6 version, since it's better for the thing to work than to break
randomly. Well it's an archived repo, so like what's the difference
anyway.

Signed-off-by: Sunagatov Denis <[email protected]>
@flysand7
Copy link
Contributor Author

flysand7 commented May 23, 2025

Just found out the CI doesn't actually do anything. Seems like the release is broken because the build.lua expects either -x64 or a -a64 option, and it still succeeds because even in the absence of the flag it exits with a zero exit code. I'll keep working on this for now.

@flysand7 flysand7 marked this pull request as draft May 23, 2025 20:57
@flysand7 flysand7 changed the title Update CI actions' versions Fix CI May 24, 2025
@flysand7 flysand7 force-pushed the ci-fix branch 3 times, most recently from 828acbf to b47583a Compare May 24, 2025 02:58
@flysand7
Copy link
Contributor Author

Ideally I'd move the release checks to their own CI file so that they don't get marked as skipped but I think this is good enough for now

@flysand7 flysand7 marked this pull request as ready for review May 24, 2025 11:32
Since the build.lua script now requires an architecture as the input we
need to be providing that in the CI script, which isn't. This builds
the TB and Cuik compilers with both x64 and a64 support (because for
now it is simpler than making a separate build per-architecture).

This also fixes the CI build script, as earlier the artifacts would not
be produced without architecture flag and the script would finish with
warnings and no artifacts.

Signed-off-by: Sunagatov Denis <[email protected]>
flysand7 added 2 commits May 24, 2025 22:34
Linux builds were executing in PRs just fine, but windows only on the
master branch. This makes builds consistent, so that windows builds
also happen in PRs.

Signed-off-by: Sunagatov Denis <[email protected]>
The build.lua script runs the DSL compilation under the hood, which
requires string.buffer. As far as I understand this is a feature of
luajit rather than lua, so the script was failing when running with
lua.

Signed-off-by: Sunagatov Denis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant