From 4d3dde33b870c2aca4ca137175e3c1f528a4e898 Mon Sep 17 00:00:00 2001 From: Romain Failliot Date: Sat, 6 Jan 2024 22:57:50 -0500 Subject: [PATCH] fix(cicd): run the tests on Ubuntu 23.04 In order to have appstreamcli v0.16 instead of 0.15 --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8680312..d436003 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,13 +39,17 @@ jobs: meson-build-test: 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: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.8' - - run: sudo apt-get -y install meson appstream desktop-file-utils gettext - - run: pip install meson ninja + # Extra installation since we are not using ubuntu-latest + - 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 compile -C build - run: meson test --print-errorlogs -C build