Skip to content

Fix broken Weekly CI and modernize runner configuration - #383

Merged
mikkelfj merged 7 commits into
dvidelabs:masterfrom
Nordix:ci-updates
Jul 29, 2026
Merged

Fix broken Weekly CI and modernize runner configuration#383
mikkelfj merged 7 commits into
dvidelabs:masterfrom
Nordix:ci-updates

Conversation

@bjosv

@bjosv bjosv commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator
  • Fix Windows build failure: replace msbuild cmake --build to handle VS 2026 on windows-2025 runner
    Remove action microsoft/setup-msbuild since its not needed when we let CMake build.
  • Add Windows Visual Studio 11-arm
  • Replace retired macos-14 runner with macos-26
  • Update Debian matrix: drop EOL Bullseye (11), add Trixie (13)
  • Upgrade Ubuntu runner to 26.04 for modern toolchain jobs (keep 24.04/22.04 for legacy compilers)
  • Add Clang 22 to weekly matrix
  • Bump action versions: checkout v7.0.1, setup-cpp v1.8.1, actions-setup-cmake v2.2.0, run-on-arch-action v3.1.0
    This replaces the dependabot PRs.

The aminya/setup-cpp action still gives annotations/warnings when retrying to add apt keys, but it succeeds to install the compilers. (Weekly run: https://github.com/Nordix/flatcc/actions/runs/30353387666)

bjosv added 3 commits July 28, 2026 11:58
The windows-2025 runner now includes Visual Studio 2026.
CMake auto-detects it but msbuild fails to find the FlatCC.sln.

Using cmake --build is generator-agnostic and avoids depending on
the solution filename.

Also remove the microsoft/setup-msbuild action since cmake finds
MSBuild through the VS installation directly.

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
Add Debian 13 (Trixie, current stable) and remove Debian 11 (Bullseye)
which reached end of life in 2024.

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
bjosv added 3 commits July 28, 2026 13:26
Move jobs with modern compilers to ubuntu-26.04. Keep ubuntu-24.04
for old clang/gcc versions and CMake 3.16 where newer glibc or
missing packages could cause issues.

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
- actions/checkout v6.0.1 to v7.0.1
- aminya/setup-cpp v1.7.1 to v1.8.1
- jwlawson/actions-setup-cmake v2.0.2 to v2.2.0
- uraimo/run-on-arch-action v3.0.1 to v3.1.0

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
Old compilers only works on older ubuntu baselines providing
`libtinfo.so.5`.

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
@bjosv

bjosv commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator Author

I pushed again, had to revert back to use ubuntu-24.04 in the gcc job, avoiding ubuntu-22.04

@bjosv

bjosv commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator Author

I need to fix a flakyness in clang-5 to 15 first, the first attempt did not work. Hold on

@mikkelfj

Copy link
Copy Markdown
Contributor

Impressive regression on LTS ...

The libtinfo5 package is part of ncurses and the version 6.4-2ubuntu0.1
is a specific security patch for Ubuntu 24.04.
It could get a new version if there's another security fix,
but that's rare for a legacy compatibility package.

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
@bjosv

bjosv commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator Author

Well, now it seems stable, been rerunning 5+ times. So these are the proposed updates.

Yeah, LTS sounds good. Then it doesn't help that Github constantly changes what their runners consists of.

@mikkelfj
mikkelfj merged commit 4e974f6 into dvidelabs:master Jul 29, 2026
5 checks passed
@mikkelfj

Copy link
Copy Markdown
Contributor

Awesome, thanks!

@bjosv
bjosv deleted the ci-updates branch July 29, 2026 09:08
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