Skip to content

ci: restore builds on supported GitHub runners - #220

Merged
kivutar merged 5 commits into
masterfrom
codex/fix-build-ci
Nov 15, 2026
Merged

kivutar merged 5 commits into
masterfrom
codex/fix-build-ci

Conversation

@kivutar

@kivutar kivutar commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

The CMake workflows fail before compilation because actions/upload-artifact@v1 is retired, and the Ubuntu jobs target the retired ubuntu-20.04 runner. This blocks checks on #219 independently of its ROM-loading changes.

Use current checkout/artifact actions and supported Ubuntu 24.04 runners, including native aarch64 builds, with current dependency packages and checkout paths. Move Windows to MSYS2 UCRT64, where libslirp is still packaged. Build against shared Windows libraries and bundle Qt plugins and transitive DLL dependencies; the current packaged static libraries no longer link with the old build configuration. A startup check runs the packaged executable with MSYS2 removed from PATH.

Validation: actionlint and git diff --check pass. A complete local Linux Release CMake build links successfully. GitHub Actions builds pass on Ubuntu x86-64, Ubuntu aarch64, and Windows x86-64, including artifact uploads and the Windows package startup check.

Update checkout and artifact actions, replace retired Ubuntu runners and packages, and build aarch64 on its native runner. Use the checkout workspace and MSYS2 prefix for build paths.
Use shared MSYS2 libraries and package the Qt plugins and transitive DLL dependencies. Check that the packaged executable starts without MSYS2 on PATH.

@sunlollyking sunlollyking left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks! I hit the same three walls trying this earlier (upload-artifact v1, the 20.04 runners, and MSYS2 dropping libslirp from MINGW64), and building Windows against the shared libraries with the packaging step gets past the static link failure I ran into. All three builds are green.

@kivutar
kivutar merged commit 01c73a8 into master Nov 15, 2026
4 checks passed
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.

2 participants