From 565c6f5cc9c14dea8134e7420d6d5fea80fb3a86 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 31 Jul 2024 10:57:49 +0200 Subject: [PATCH] .github/workflows/build.yml: run Meson manually without BSFishy/meson-build --- .github/workflows/build.yml | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9050b9b..07e23d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,14 +29,17 @@ jobs: cc: gcc-14 cxx: g++-14 packages: g++-14 + meson_options: - os: ubuntu-22.04 cc: gcc-11 cxx: g++-11 packages: g++-11 + meson_options: - os: ubuntu-20.04 cc: gcc-10 cxx: g++-10 packages: g++-10 + meson_options: runs-on: ${{ matrix.os }} @@ -65,12 +68,18 @@ jobs: with: key: ${{ matrix.os }} + - name: Configure + run: | + meson setup \ + -Dsystemd=enabled \ + -Dsyslog=enabled \ + -Dtest=true \ + --wrap-mode nofallback \ + ${{ matrix.meson_options }} \ + output + - name: Build - uses: BSFishy/meson-build@v1.0.3 - with: - action: build - directory: output - setup-options: -Dtest=true + run: ninja -C output --verbose build-macos: runs-on: macos-latest @@ -96,9 +105,13 @@ jobs: with: key: macos - - name: Meson Build - uses: BSFishy/meson-build@v1.0.3 - with: - action: build - directory: output - setup-options: -Dtest=true + - name: Configure + run: | + meson setup \ + -Dtest=true \ + --wrap-mode nofallback \ + ${{ matrix.meson_options }} \ + output + + - name: Build + run: ninja -C output --verbose