Skip to content

Commit c62ffe4

Browse files
FlyAndNotDownclaude
andcommitted
ci: run conan recipes / engine build on Linux too
Add an ubuntu-latest leg to both the Build (engine) and Publish Conan Recipes workflows so Linux is exercised in CI alongside Windows and macOS, matching the recipes that now declare Linux-x86_64. The engine's own Linux support is not yet verified, so the Build matrix sets fail-fast: false to keep the Linux leg from cancelling the Windows and macOS legs. Publish already had fail-fast: false. README updated to list Linux among the supported platforms and as a publish target. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d822c11 commit c62ffe4

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ env:
1818
jobs:
1919
build:
2020
strategy:
21+
# Linux runs alongside Windows/macOS, but the engine's own Linux support is
22+
# not yet verified -- keep a failing Linux leg from cancelling the others.
23+
fail-fast: false
2124
matrix:
22-
os: ['windows-2022', 'macOS-latest']
25+
os: ['windows-2022', 'macOS-latest', 'ubuntu-latest']
2326

2427
runs-on: ${{ matrix.os }}
2528

.github/workflows/publish-conan-recipes.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
cppstd: '17'
3434
- os: macOS-latest
3535
cppstd: gnu17
36+
- os: ubuntu-latest
37+
cppstd: gnu17
3638

3739
runs-on: ${{ matrix.os }}
3840

ThirdParty/ConanRecipes/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ To build every recipe at once, use the `build_recipes.py` helper. It walks each
3030
recipe directory, picks the latest version (the top-most entry in
3131
`conandata.yml`) and builds them one-by-one in dependency order. Each recipe
3232
lists the platforms it supports under a `platforms` key in its `conandata.yml`
33-
(currently `Windows-x86_64` and/or `Macos-armv8`); recipes that do not target
34-
the current host are skipped. If any recipe fails the script stops immediately
33+
(currently `Windows-x86_64`, `Macos-armv8` and/or `Linux-x86_64`); recipes that
34+
do not target the current host are skipped. If any recipe fails the script stops immediately
3535
and prints a summary.
3636

3737
```shell
@@ -70,8 +70,8 @@ Recipe changes are validated and published automatically:
7070
the job. A PR can therefore change recipes and engine code together and
7171
be validated atomically.
7272
- After a push to `master` that touches `ThirdParty/ConanRecipes`, the
73-
`Publish Conan Recipes` workflow builds the changed recipes on Windows
74-
and macOS and uploads them to the remote (credentials come from the
73+
`Publish Conan Recipes` workflow builds the changed recipes on Windows,
74+
macOS and Linux and uploads them to the remote (credentials come from the
7575
`CONAN_REMOTE_USER` / `CONAN_REMOTE_PASSWORD` repository secrets). It can
7676
also be re-run manually via `workflow_dispatch` if an upload failed.
7777

0 commit comments

Comments
 (0)