Skip to content

Commit

Permalink
up ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchabannes committed Aug 21, 2024
1 parent 8ac460f commit 80d794c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/cmake.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CMake
name: CI

on:
push:
Expand All @@ -15,8 +15,9 @@ jobs:
strategy:
matrix:
include:
- { os: ubuntu-22.04 }
- { os: ubuntu-24.04 }
- { os: ubuntu-22.04, cxx-compiler: g++-11 }
- { os: ubuntu-24.04, cxx-compiler: g++-13 }
- { os: ubuntu-24.04, cxx-compiler: g++-14 }
runs-on: ${{ matrix.os }}

# The CMake configure and build commands are platform agnostic and should work equally
Expand All @@ -29,9 +30,7 @@ jobs:
- uses: actions/checkout@v2

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_COMPILER=${{matrix.cxx-compiler}}

- name: Build
# Build your program with the given configuration
Expand Down

0 comments on commit 80d794c

Please sign in to comment.