Skip to content

ci(conan): install CMake in Linux container workflow to unblock Debug static build matrix job - #804

Merged
kyllingstad merged 7 commits into
masterfrom
copilot/fix-linux-actions-job
Aug 18, 2026
Merged

ci(conan): install CMake in Linux container workflow to unblock Debug static build matrix job#804
kyllingstad merged 7 commits into
masterfrom
copilot/fix-linux-actions-job

Conversation

Copilot AI commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

The Conan CI matrix job Linux (Debug, 14, proxyfmu=False, shared=False) failed during dependency build because cmake was not available in the gcc:14 container. This prevented Conan from building transitive packages (notably xerces-c/3.2.5) from source.

  • Root cause

    • Linux workflow prerequisites installed pipx and doxygen, but not cmake.
    • Conan dependency build invoked cmake.configure() and exited with cmake: not found.
  • Change

    • Added cmake to the apt packages installed in .github/workflows/ci-conan.yml for the Linux job.
  • Impact

    • Restores required build tooling for Conan source builds in Linux matrix configurations, including Debug + static combinations.
# .github/workflows/ci-conan.yml
apt-get install -y pipx doxygen cmake

Co-authored-by: restenb <40600023+restenb@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job for Linux (Debug, 14) ci(conan): install CMake in Linux container workflow to unblock Debug static build matrix job Aug 17, 2026
Copilot AI requested a review from restenb August 17, 2026 07:50
@restenb

restenb commented Aug 17, 2026

Copy link
Copy Markdown
Member

@copilot thanks, this fixed the Linux CI builds. can you also fix the windows builds?

Co-authored-by: restenb <40600023+restenb@users.noreply.github.com>

Copilot AI commented Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

@copilot thanks, this fixed the Linux CI builds. can you also fix the windows builds?

I’ve pushed a fix in commit 8abff33. It updates the Windows Conan CI prerequisites to install cmake (pip3 install conan cmake), so dependency builds can use a compatible CMake generator on the Windows runner.

@restenb

restenb commented Aug 17, 2026

Copy link
Copy Markdown
Member

@copilot the windows builds are still failing, under the "Conan create" step it looks like. please analyze the error messages from the failed CI job and attempt to fix.

Co-authored-by: restenb <40600023+restenb@users.noreply.github.com>

Copilot AI commented Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

@copilot the windows builds are still failing, under the "Conan create" step it looks like. please analyze the error messages from the failed CI job and attempt to fix.

Fixed in commit 2553c8c. I analyzed the failing Windows Conan create logs and the failure is from CMake not supporting the auto-selected Visual Studio 18 2026 generator. The workflow now pins the Windows Conan create setting to --settings="compiler.version=194" so CMake uses the supported VS 2022 toolchain.

@restenb

restenb commented Aug 17, 2026

Copy link
Copy Markdown
Member

@copilot the windows build is still broken, seems that the specific compiler version was not found. please assess and configure the windows environment to use an available, supported compiler version.

…hain

Co-authored-by: restenb <40600023+restenb@users.noreply.github.com>

Copilot AI commented Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

@copilot the windows build is still broken, seems that the specific compiler version was not found. please assess and configure the windows environment to use an available, supported compiler version....

Fixed in commit 69b00fa. I removed the forced compiler.version=194 pin and configured Windows Conan create to use --conf="tools.cmake.cmaketoolchain:generator=Ninja", plus install ninja in prerequisites. This uses the available compiler environment on windows-2025 without requiring an unavailable VS2022 instance.

@restenb

restenb commented Aug 17, 2026

Copy link
Copy Markdown
Member

@copilot windows build is still broken and needs triaging. you have been granted access to trigger the workflows yourself, so please iterate on this until the windows build works. if possible, you can also imitate a build using the same environment before triggering the slow-running multibuild workflow in order to iterate faster.

Copilot AI and others added 2 commits August 17, 2026 11:10
Co-authored-by: restenb <40600023+restenb@users.noreply.github.com>
Co-authored-by: restenb <40600023+restenb@users.noreply.github.com>

Copilot AI commented Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

@copilot windows build is still broken and needs triaging. you have been granted access to trigger the workflows yourself, so please iterate on this until the windows build works. if possible, you can...

I pushed a follow-up fix in 51e75dd to use windows-2022 for the Conan Windows matrix and removed the explicit Ninja generator override so Conan/CMake use the runner’s supported default toolchain behavior. I also retriggered CI (CI with Conan, run #1011) and all completed Windows jobs are passing so far; the remaining two Debug Windows jobs are still running.

@restenb restenb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! Well done, young assistant 👍

@restenb
restenb marked this pull request as ready for review August 17, 2026 12:19
@kyllingstad
kyllingstad merged commit dbe50c7 into master Aug 18, 2026
20 checks passed
@kyllingstad
kyllingstad deleted the copilot/fix-linux-actions-job branch August 18, 2026 07:44
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.

3 participants