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.
This commit is contained in:
parent
311975cadc
commit
ba7d00af69
|
@ -43,21 +43,11 @@ jobs:
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
python-version: '3.8'
|
||||||
|
- run: sudo apt-get -y install meson appstream appstream-util desktop-file-utils gettext
|
||||||
- name: Install dependencies
|
- run: pip install meson ninja
|
||||||
run: |
|
- run: meson setup build
|
||||||
sudo apt-get -y install appstream appstream-util desktop-file-utils gettext
|
- run: meson compile -C build
|
||||||
|
- run: meson test -C build
|
||||||
- name: Meson build
|
|
||||||
uses: BSFishy/meson-build@v1.0.3
|
|
||||||
with:
|
|
||||||
action: build
|
|
||||||
setup-options: --prefix=/tmp/diffuse
|
|
||||||
|
|
||||||
- name: Meson test
|
|
||||||
uses: BSFishy/meson-build@v1.0.3
|
|
||||||
with:
|
|
||||||
action: test
|
|
||||||
|
|
||||||
flatpak-build-test:
|
flatpak-build-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
project('diffuse',
|
project('diffuse',
|
||||||
version: '0.7.7',
|
version: '0.7.7',
|
||||||
meson_version: '>= 0.50',
|
meson_version: '>= 0.55',
|
||||||
license: 'GPL-2.0-or-later',
|
license: 'GPL-2.0-or-later',
|
||||||
default_options: [ 'warning_level=2' ])
|
default_options: [ 'warning_level=2' ])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue