diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index e1f4e2c..ce214a5 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -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 @@ -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