From 99bb5523b756c43ce7de6ee4606ed89a2d4d41b9 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 13 May 2020 09:18:38 -0700 Subject: CI: test with different shared library configs. --- .github/workflows/ci.yml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3