From be0cee0aca58ffbeeda713288dbad468d4a201ee Mon Sep 17 00:00:00 2001 From: DenisD3D Date: Tue, 12 Mar 2024 18:43:47 +0100 Subject: [PATCH] Test GA --- .github/workflows/cmake-multi-platform.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 0e3ec65..a09821d 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -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 @@ -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 }}