Upgrade build to use gcc 12.
Signed-off-by: Robin Davies <rerdavies@gmail.com>
This commit is contained in:
@@ -38,14 +38,14 @@ jobs:
|
||||
# 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}}
|
||||
env:
|
||||
CC: gcc-10
|
||||
CXX: g++-10
|
||||
CC: gcc-12
|
||||
CXX: g++-12
|
||||
- name: Build
|
||||
# Build your program with the given configuration
|
||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||
env:
|
||||
CC: gcc-10
|
||||
CXX: g++-10
|
||||
CC: gcc-12
|
||||
CXX: g++-12
|
||||
#- name: Test
|
||||
# working-directory: ${{github.workspace}}/build
|
||||
# # Execute CMake BuiltTest test
|
||||
|
||||
Reference in New Issue
Block a user