Skip to content

Commit

Permalink
Update build_cmake.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ConorDamery committed Jun 25, 2024
1 parent 611f3e6 commit 591ad97
Showing 1 changed file with 19 additions and 24 deletions.
43 changes: 19 additions & 24 deletions .github/workflows/build_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,26 @@ jobs:
#
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix:
#os: [ubuntu-latest, windows-latest]
os: [windows-latest]
os: [ubuntu-latest, windows-latest]
build_type: [Release, Debug]
#c_compiler: [gcc, clang, cl]
cpp_compiler: [cl]
c_compiler: [cl]
#include:
# - os: windows-latest
# c_compiler: cl
# cpp_compiler: cl
# - os: ubuntu-latest
# c_compiler: gcc
# cpp_compiler: g++
# - os: ubuntu-latest
# c_compiler: clang
# cpp_compiler: clang++
#exclude:
# - os: windows-latest
# c_compiler: gcc
# - os: windows-latest
# c_compiler: clang
# - os: ubuntu-latest
# c_compiler: cl
c_compiler: [gcc, clang, cl]
include:
- os: windows-latest
c_compiler: cl
cpp_compiler: cl
- os: ubuntu-latest
c_compiler: gcc
cpp_compiler: g++
- os: ubuntu-latest
c_compiler: clang
cpp_compiler: clang++
exclude:
- os: windows-latest
c_compiler: gcc
- os: windows-latest
c_compiler: clang
- os: ubuntu-latest
c_compiler: cl

steps:
- uses: actions/checkout@v4
Expand All @@ -72,8 +69,6 @@ jobs:
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-DCMAKE_CXX_FLAGS="/Od /d2Zi+"
-DCMAKE_C_FLAGS="/Od"
-S ${{ github.workspace }}
- name: Build
Expand Down

0 comments on commit 591ad97

Please sign in to comment.