mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
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>
This commit is contained in:
parent
9ca7d62dbf
commit
4fd3f4f0a9
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -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 }}
|
||||
|
@ -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 }}
|
||||
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue