Skip to content

Commit

Permalink
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.
  • Loading branch information
GeorgesStavracas committed Aug 22, 2024
1 parent 2da3430 commit 0e13c10
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
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
run: mkdir test-logs
- name: configure
run: |
meson _build
meson setup . _build
env:
CFLAGS: >-
-O2
Expand Down

0 comments on commit 0e13c10

Please sign in to comment.