From 9e482b10e6468fc2511db1e0fdf42e60deb169ba Mon Sep 17 00:00:00 2001 From: Pavel Artsishevsky Date: Tue, 4 Jun 2024 01:45:26 +0300 Subject: [PATCH] Update CI configuration --- .github/workflows/cmake-multi-platform.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index f21a025..9e3657b 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -23,25 +23,25 @@ jobs: # # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list. matrix: - os: [ubuntu-latest, windows-latest] + os: [ubuntu-24.04, windows-2022] build_type: [Release] c_compiler: [gcc, clang, cl] include: - - os: windows-latest + - os: windows-2022 c_compiler: cl cpp_compiler: cl - - os: ubuntu-latest + - os: ubuntu-24.04 c_compiler: gcc cpp_compiler: g++ - - os: ubuntu-latest + - os: ubuntu-24.04 c_compiler: clang cpp_compiler: clang++ exclude: - - os: windows-latest + - os: windows-2022 c_compiler: gcc - - os: windows-latest + - os: windows-2022 c_compiler: clang - - os: ubuntu-latest + - os: ubuntu-24.04 c_compiler: cl steps: @@ -60,7 +60,6 @@ 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 }} -S ${{ github.workspace }}