summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml28
1 files changed, 27 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4b5d1e0..e057fda 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -9,13 +9,16 @@ jobs:
strategy:
fail-fast: false
matrix:
+ shared:
+ - ON
+ - OFF
compiler:
- c: 'clang'
cpp: 'clang++'
- c: 'gcc'
cpp: 'g++'
env:
- CMAKE_OPTIONS: -DCMARK_SHARED=OFF
+ CMAKE_OPTIONS: -DCMARK_SHARED=${{ matrix.shared }}
CC: ${{ matrix.compiler.c }}
CXX: ${{ matrix.compiler.cpp }}
steps:
@@ -32,6 +35,21 @@ jobs:
macos:
runs-on: macOS-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ shared:
+ - ON
+ - OFF
+ compiler:
+ - c: 'clang'
+ cpp: 'clang++'
+ - c: 'gcc'
+ cpp: 'g++'
+ env:
+ CMAKE_OPTIONS: -DCMARK_SHARED=${{ matrix.shared }}
+ CC: ${{ matrix.compiler.c }}
+ CXX: ${{ matrix.compiler.cpp }}
steps:
- uses: actions/checkout@v1
@@ -45,6 +63,14 @@ jobs:
windows:
runs-on: windows-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ shared:
+ - ON
+ - OFF
+ env:
+ CMAKE_OPTIONS: -DCMARK_SHARED=${{ matrix.shared }}
steps:
- uses: actions/checkout@v1