Browse Source

github: enforce testing pylibfdt and yaml support

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 <brandon.maier@collins.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
main
Brandon Maier 8 months ago committed by David Gibson
parent
commit
4fd3f4f0a9
  1. 6
      .github/workflows/build.yml

6
.github/workflows/build.yml

@ -21,7 +21,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ "alpine", "archlinux", "fedora", "ubuntu" ] os: [ "alpine", "archlinux", "fedora", "ubuntu:23.10" ]


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


container: container:
image: ${{ matrix.os }} image: ${{ matrix.os }}
@ -62,7 +62,7 @@ jobs:
./scripts/install-deps.sh ./scripts/install-deps.sh


- name: Setup - name: Setup
run: meson setup build run: meson setup -D python=enabled -D yaml=enabled build


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

Loading…
Cancel
Save