Skip to content

Commit

Permalink
Test GA
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisD3D committed Mar 12, 2024
1 parent 5d733d2 commit be0cee0
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,16 @@ jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest ]
build_type: [ Release ]
c_compiler: [ gcc, cl ]
cpp_compiler: [ g++, cl ]
build_type: [Release]
include:
- os: windows-latest
c_compiler: cl
cpp_compiler: cl
- os: ubuntu-latest
- os: ubuntu-20.04
c_compiler: gcc
cpp_compiler: g++
exclude:
- os: windows-latest
c_compiler: gcc
- os: ubuntu-latest
c_compiler: cl

steps:
- uses: actions/checkout@v3
Expand All @@ -42,7 +35,7 @@ jobs:
run: mkdir build

- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}

- name: Build with CMake
run: cmake --build build --config ${{ matrix.build_type }}
Expand Down

0 comments on commit be0cee0

Please sign in to comment.