diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-05-13 09:18:38 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-05-13 09:18:38 -0700 |
commit | 99bb5523b756c43ce7de6ee4606ed89a2d4d41b9 (patch) | |
tree | f7ad211d077925f6168f1ca456b88f2b003209a4 | |
parent | 8ab7c6a73cf3b39a82377af342667f07d451ea2b (diff) |
CI: test with different shared library configs.
-rw-r--r-- | .github/workflows/ci.yml | 28 |
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 |