fix(cicd): run the tests on Ubuntu 23.04

In order to have appstreamcli v0.16 instead of 0.15
This commit is contained in:
Romain Failliot 2024-01-06 22:57:50 -05:00
parent 06e1137278
commit 4d3dde33b8
1 changed files with 6 additions and 2 deletions

View File

@ -39,13 +39,17 @@ jobs:
meson-build-test: meson-build-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
# Use Ubuntu 23.04 in order to have appstreamcli v0.16 instead of 0.15.
image: ubuntu:23.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5
with: with:
python-version: '3.8' python-version: '3.8'
- run: sudo apt-get -y install meson appstream desktop-file-utils gettext # Extra installation since we are not using ubuntu-latest
- run: pip install meson ninja - run: apt-get update && apt-get -y install libglib2.0-dev-bin
- run: apt-get -y install meson appstream desktop-file-utils gettext
- run: meson setup build - run: meson setup build
- run: meson compile -C build - run: meson compile -C build
- run: meson test --print-errorlogs -C build - run: meson test --print-errorlogs -C build