Skip to content

Commit

Permalink
Add c_compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
serge1 authored Dec 13, 2023
1 parent 4c4e774 commit 480a39f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,22 @@ jobs:
os: [ubuntu-latest, ubuntu-20.04, windows-latest]
build_type: [Release, Debug]
cpp_compiler: [g++, clang++, cl]
include:
- os: windows-latest
cpp_compiler: cl
c_compiler: cl
- os: ubuntu-latest
cpp_compiler: g++
c_compiler: gcc
- os: ubuntu-latest
cpp_compiler: clang++
c_compiler: clang
- os: ubuntu-20.04
cpp_compiler: g++
c_compiler: gcc
- os: ubuntu-20.04
cpp_compiler: clang++
c_compiler: clang
exclude:
- os: windows-latest
cpp_compiler: g++
Expand All @@ -40,6 +56,7 @@ jobs:
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-DELFIO_BUILD_EXAMPLES=YES -DELFIO_BUILD_TESTS=YES
-S ${{ github.workspace }}
Expand Down

0 comments on commit 480a39f

Please sign in to comment.