Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Use "meson setup" instead of just "meson"
Browse files Browse the repository at this point in the history
It's what Meson recommends us these days.
GeorgesStavracas committed Aug 22, 2024

Verified

This commit was signed with the committer’s verified signature.
mbarbin Mathieu Barbin
1 parent 9a2cf23 commit a8303cb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ jobs:
run: mkdir test-logs
- name: configure
run: |
meson _build
meson setup . _build
- name: Build xdg-dbus-proxy
run: ninja -C _build -v
- name: Run tests
@@ -65,7 +65,7 @@ jobs:
mkdir tests/use-as-subproject/subprojects
tar -C tests/use-as-subproject/subprojects -xf _build/meson-dist/xdg-dbus-proxy-*.tar.xz
mv tests/use-as-subproject/subprojects/xdg-dbus-proxy-* tests/use-as-subproject/subprojects/dbus-proxy
( cd tests/use-as-subproject && meson _build )
( cd tests/use-as-subproject && meson setup . _build )
ninja -C tests/use-as-subproject/_build -v
meson test -C tests/use-as-subproject/_build
DESTDIR="$(pwd)/DESTDIR-as-subproject" meson install -C tests/use-as-subproject/_build
@@ -120,7 +120,7 @@ jobs:
run: mkdir test-logs
- name: configure
run: |
meson _build -Db_sanitize=address,undefined
meson setup . _build -Db_sanitize=address,undefined
env:
CC: clang
- name: Build xdg-dbus-proxy
@@ -169,7 +169,7 @@ jobs:
run: mkdir test-logs
- name: configure
run: |
meson _build
meson setup . _build
env:
CFLAGS: >-
-O2

0 comments on commit a8303cb

Please sign in to comment.