Skip to content

Commit

Permalink
github: enforce testing pylibfdt and yaml support
Browse files Browse the repository at this point in the history
The Ubuntu runner was not building the yaml support as it's using Ubuntu
22 (jammy) which uses libyaml 0.2.2, but the build requires libyaml
0.2.3. Switch to Ubuntu 23 which has libyaml 0.2.5.

This was not detected by the runner as the Yaml feature defaults to
"auto" which turns off if it fails to find the dependency. In the runner
force yaml to enabled so if it fails to build it will trigger a build
failure.

We also force python support for the same reason.

Signed-off-by: Brandon Maier <[email protected]>
Signed-off-by: David Gibson <[email protected]>
  • Loading branch information
blmaier authored and dgibson committed Mar 19, 2024
1 parent 9ca7d62 commit 4fd3f4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ "alpine", "archlinux", "fedora", "ubuntu" ]
os: [ "alpine", "archlinux", "fedora", "ubuntu:23.10" ]

container:
image: ${{ matrix.os }}
Expand All @@ -48,7 +48,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ "alpine", "archlinux", "fedora", "ubuntu" ]
os: [ "alpine", "archlinux", "fedora", "ubuntu:23.10" ]

container:
image: ${{ matrix.os }}
Expand All @@ -62,7 +62,7 @@ jobs:
./scripts/install-deps.sh
- name: Setup
run: meson setup build
run: meson setup -D python=enabled -D yaml=enabled build

- name: Build
run: meson compile -C build
Expand Down

0 comments on commit 4fd3f4f

Please sign in to comment.