Skip to content

Commit 4d3dde3

Browse files
committed
fix(cicd): run the tests on Ubuntu 23.04
In order to have appstreamcli v0.16 instead of 0.15
1 parent 06e1137 commit 4d3dde3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,17 @@ jobs:
3939
4040
meson-build-test:
4141
runs-on: ubuntu-latest
42+
container:
43+
# Use Ubuntu 23.04 in order to have appstreamcli v0.16 instead of 0.15.
44+
image: ubuntu:23.04
4245
steps:
4346
- uses: actions/checkout@v4
4447
- uses: actions/setup-python@v5
4548
with:
4649
python-version: '3.8'
47-
- run: sudo apt-get -y install meson appstream desktop-file-utils gettext
48-
- run: pip install meson ninja
50+
# Extra installation since we are not using ubuntu-latest
51+
- run: apt-get update && apt-get -y install libglib2.0-dev-bin
52+
- run: apt-get -y install meson appstream desktop-file-utils gettext
4953
- run: meson setup build
5054
- run: meson compile -C build
5155
- run: meson test --print-errorlogs -C build

0 commit comments

Comments
 (0)