Skip to content

Commit

Permalink
.github/workflows/build.yml: run Meson manually without BSFishy/meson…
Browse files Browse the repository at this point in the history
…-build
  • Loading branch information
MaxKellermann committed Jul 31, 2024
1 parent f5b2848 commit 565c6f5
Showing 1 changed file with 24 additions and 11 deletions.
35 changes: 24 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down Expand Up @@ -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/[email protected]
with:
action: build
directory: output
setup-options: -Dtest=true
run: ninja -C output --verbose

build-macos:
runs-on: macos-latest
Expand All @@ -96,9 +105,13 @@ jobs:
with:
key: macos

- name: Meson Build
uses: BSFishy/[email protected]
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

0 comments on commit 565c6f5

Please sign in to comment.