Skip to content

Commit

Permalink
test shared/static and Release/Debug on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Jan 22, 2024
1 parent 13f3042 commit c528692
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ jobs:
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
build_type: [Release]
build_type: [Release, Debug]
c_compiler: [gcc, clang, cl]
shared_libs: ['ON', 'OFF']
include:
- os: windows-latest
c_compiler: cl
Expand Down Expand Up @@ -74,9 +75,10 @@ jobs:
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-G Ninja
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-D CMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-D CMAKE_C_COMPILER=${{ matrix.c_compiler }}
-D CMAKE_BUILD_TYPE=${{ matrix.build_type }}
-D BUILD_SHARED_LIBS=${{ matrix.shared_libs }}
-S ${{ github.workspace }}
- name: Build
Expand Down

0 comments on commit c528692

Please sign in to comment.