Skip to content

Commit 2cf4f63

Browse files
committed
github: build matrix extended
1 parent 7c8eb6f commit 2cf4f63

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build_on_push.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
os: [ubuntu-20.04]
13+
multilib: [false]
1314
experimental: [false]
1415
include:
16+
- os: ubuntu-20.04
17+
multilib: true
18+
experimental: false
1519
- os: macos-10.15
20+
multilib: false
1621
experimental: true
1722

1823
steps:
@@ -52,8 +57,9 @@ jobs:
5257
- name: Build
5358
env:
5459
CTEST_OUTPUT_ON_FAILURE: 1
60+
CMAKE_OPTIONS: -DENABLE_MULTILIB=${{ matrix.multilib }}
5561
run: |
56-
cmake -B "$BUILD_DIR" -S "$GITHUB_WORKSPACE" -DCMAKE_INSTALL_PREFIX:PATH="$INSTALL_DIR" -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu
62+
cmake -B "$BUILD_DIR" -S "$GITHUB_WORKSPACE" $CMAKE_OPTIONS -DCMAKE_INSTALL_PREFIX:PATH="$INSTALL_DIR" -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu
5763
cmake --build "$BUILD_DIR" --parallel 4 --target install
5864
5965
- name: Prepare [functional test]
@@ -64,6 +70,7 @@ jobs:
6470
- name: Execute [functional test]
6571
run: |
6672
mkdir $HOME/work/zlib_compilations && cd $HOME/work/zlib_compilations
73+
bear --help
6774
bear -- $ZLIB_SRC_DIR/configure
6875
bear -- make
6976
cat compile_commands.json

0 commit comments

Comments
 (0)