Skip to content

Commit ba7d00a

Browse files
committed
fix(cicd): use latest meson
The GitHub action BSFishy/meson-build doesn't seem maintained anymore, so I installed the package myself and followed the instructions in our own README.md.
1 parent 311975c commit ba7d00a

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,11 @@ jobs:
4343
- uses: actions/setup-python@v4
4444
with:
4545
python-version: '3.8'
46-
47-
- name: Install dependencies
48-
run: |
49-
sudo apt-get -y install appstream appstream-util desktop-file-utils gettext
50-
51-
- name: Meson build
52-
uses: BSFishy/[email protected]
53-
with:
54-
action: build
55-
setup-options: --prefix=/tmp/diffuse
56-
57-
- name: Meson test
58-
uses: BSFishy/[email protected]
59-
with:
60-
action: test
46+
- run: sudo apt-get -y install meson appstream appstream-util desktop-file-utils gettext
47+
- run: pip install meson ninja
48+
- run: meson setup build
49+
- run: meson compile -C build
50+
- run: meson test -C build
6151

6252
flatpak-build-test:
6353
runs-on: ubuntu-latest

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
project('diffuse',
22
version: '0.7.7',
3-
meson_version: '>= 0.50',
3+
meson_version: '>= 0.55',
44
license: 'GPL-2.0-or-later',
55
default_options: [ 'warning_level=2' ])
66

0 commit comments

Comments
 (0)