⚗️ try official GCC containers
This commit is contained in:
parent
d0806be1ce
commit
86ffbd57ca
8
.github/workflows/ubuntu.yml
vendored
8
.github/workflows/ubuntu.yml
vendored
@ -98,12 +98,12 @@ jobs:
|
||||
container: gcc:${{ matrix.compiler }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install CMake
|
||||
run: wget https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0-linux-x86_64.tar.gz ; tar xfz cmake-3.24.0-linux-x86_64.tar.gz
|
||||
- name: Get latest CMake and ninja
|
||||
uses: lukka/get-cmake@latest
|
||||
- name: Run CMake
|
||||
run: cmake-3.24.0-linux-x86_64/bin/cmake -S . -B build -DJSON_CI=On
|
||||
run: cmake -S . -B build -DJSON_CI=On
|
||||
- name: Build
|
||||
run: cmake-3.24.0-linux-x86_64/bin/cmake --build build --target ci_test_compiler_default
|
||||
run: cmake --build build --target ci_test_compiler_default
|
||||
|
||||
# ci_test_compilers:
|
||||
# runs-on: ubuntu-latest
|
||||
|
||||
@ -931,7 +931,7 @@ endforeach()
|
||||
|
||||
add_custom_target(ci_test_compiler_default
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
-DCMAKE_BUILD_TYPE=Debug
|
||||
-DCMAKE_BUILD_TYPE=Debug -GNinja
|
||||
-DJSON_BuildTests=ON -DJSON_FastTests=ON
|
||||
-S${PROJECT_SOURCE_DIR} -B${PROJECT_BINARY_DIR}/build_compiler_default
|
||||
${ADDITIONAL_FLAGS}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user