⚗️ try official GCC containers

This commit is contained in:
Niels Lohmann 2022-08-14 14:34:01 +02:00
parent d0806be1ce
commit 86ffbd57ca
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
2 changed files with 5 additions and 5 deletions

View File

@ -98,12 +98,12 @@ jobs:
container: gcc:${{ matrix.compiler }} container: gcc:${{ matrix.compiler }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install CMake - name: Get latest CMake and ninja
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 uses: lukka/get-cmake@latest
- name: Run CMake - 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 - 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: # ci_test_compilers:
# runs-on: ubuntu-latest # runs-on: ubuntu-latest

View File

@ -931,7 +931,7 @@ endforeach()
add_custom_target(ci_test_compiler_default add_custom_target(ci_test_compiler_default
COMMAND ${CMAKE_COMMAND} COMMAND ${CMAKE_COMMAND}
-DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=Debug -GNinja
-DJSON_BuildTests=ON -DJSON_FastTests=ON -DJSON_BuildTests=ON -DJSON_FastTests=ON
-S${PROJECT_SOURCE_DIR} -B${PROJECT_BINARY_DIR}/build_compiler_default -S${PROJECT_SOURCE_DIR} -B${PROJECT_BINARY_DIR}/build_compiler_default
${ADDITIONAL_FLAGS} ${ADDITIONAL_FLAGS}