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

This is simple enough.
  • Loading branch information
MaxKellermann committed Jul 23, 2024
1 parent b91faf9 commit 6d69693
Showing 1 changed file with 62 additions and 24 deletions.
86 changes: 62 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,28 @@ jobs:
cxx: g++-14
ldflags: -fuse-ld=mold
packages: g++-14 mold
meson_options:
- compiler: gcc11
os: ubuntu-22.04
cc: gcc-11
cxx: g++-11
ldflags:
packages: g++-11
meson_options:
- compiler: gcc10
os: ubuntu-20.04
cc: gcc-10
cxx: g++-10
ldflags:
packages: g++-10
meson_options:
- compiler: clang
os: ubuntu-24.04
cc: clang
cxx: clang++
ldflags: -fuse-ld=lld
packages: clang lld
meson_options:

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -80,19 +84,36 @@ jobs:
with:
key: ${{ matrix.compiler }}

- name: Full Build
uses: BSFishy/[email protected]
with:
action: build
directory: output/full
setup-options: -Ddocumentation=disabled -Dlyrics_screen=true -Dchat_screen=true
- name: Configure Full
run: |
meson setup \
-Ddocumentation=disabled \
-Dlyrics_screen=true \
-Dchat_screen=true \
--wrap-mode nofallback \
${{ matrix.meson_options }} \
output/full
- name: Mini Build
uses: BSFishy/[email protected]
with:
action: build
directory: output/mini
setup-options: -Ddocumentation=disabled -Dbuildtype=minsize -Db_ndebug=true -Db_lto=true -Dauto_features=disabled -Dcurses=ncurses -Dcolors=false -Dmultibyte=false -Dasync_connect=false -Dmini=true
- name: Build Full
run: meson compile -C output/full --verbose

- name: Configure Mini
run: |
meson setup \
-Dbuildtype=minsize \
-Dauto_features=disabled \
-Db_ndebug=true -Db_lto=true \
-Dcurses=ncurses \
-Dcolors=false \
-Dmultibyte=false \
-Dasync_connect=false \
-Dmini=true
--wrap-mode nofallback \
${{ matrix.meson_options }} \
output/mini
- name: Build Mini
run: meson compile -C output/mini --verbose

build-macos:
runs-on: macos-latest
Expand All @@ -118,16 +139,33 @@ jobs:
with:
key: macos

- name: Full Build
uses: BSFishy/[email protected]
with:
action: build
directory: output/full
setup-options: -Ddocumentation=disabled -Dlyrics_screen=true -Dchat_screen=true
- name: Configure Full
run: |
meson setup \
-Ddocumentation=disabled \
-Dlyrics_screen=true \
-Dchat_screen=true \
--wrap-mode nofallback \
${{ matrix.meson_options }} \
output/full
- name: Mini Build
uses: BSFishy/[email protected]
with:
action: build
directory: output/mini
setup-options: -Ddocumentation=disabled -Dbuildtype=minsize -Db_ndebug=true -Db_lto=true -Dauto_features=disabled -Dcurses=ncurses -Dcolors=false -Dmultibyte=false -Dasync_connect=false -Dmini=true
- name: Build Full
run: meson compile -C output/full --verbose

- name: Configure Mini
run: |
meson setup \
-Dbuildtype=minsize \
-Dauto_features=disabled \
-Db_ndebug=true -Db_lto=true \
-Dcurses=ncurses \
-Dcolors=false \
-Dmultibyte=false \
-Dasync_connect=false \
-Dmini=true
--wrap-mode nofallback \
${{ matrix.meson_options }} \
output/mini
- name: Build Mini
run: meson compile -C output/mini --verbose

0 comments on commit 6d69693

Please sign in to comment.