diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 7aad52787..38fc5d231 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -25,7 +25,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Run CMake run: cmake -S . -B build -DJSON_CI=On - name: Build @@ -38,7 +38,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Check that Meson and pkg-config offer the CMake options run: make check_build_options - name: Install Meson @@ -92,7 +92,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Run CMake run: cmake -S . -B build -DJSON_CI=On - name: Build @@ -123,7 +123,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Run CMake run: cmake -S . -B build -DJSON_CI=On - name: Build @@ -142,7 +142,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Run CMake run: cmake -S . -B build -DJSON_CI=On - name: Build @@ -168,7 +168,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Run CMake run: cmake -S . -B build -DJSON_CI=On - name: Build @@ -244,7 +244,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Run CMake run: CXX=g++-${{ matrix.compiler }} cmake -S . -B build -DJSON_CI=On - name: Build @@ -262,7 +262,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Run CMake run: cmake -S . -B build -DJSON_CI=On - name: Build @@ -279,7 +279,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Disable filesystem support (std::filesystem is unusable) for clang 7 / 8 / 9 / 10 run: echo "JSON_FORCED_GLOBAL_COMPILE_OPTIONS=-DJSON_HAS_FILESYSTEM=0;-DJSON_HAS_EXPERIMENTAL_FILESYSTEM=0" >> "$GITHUB_ENV" if: ${{ matrix.compiler == '7' || matrix.compiler == '8' || matrix.compiler == '9' || matrix.compiler == '10' }} @@ -299,7 +299,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Run CMake run: cmake -S . -B build -DJSON_CI=On - name: Build @@ -319,7 +319,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Run CMake run: cmake -S . -B build -DJSON_CI=On - name: Build with libc++ @@ -346,7 +346,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Run CMake run: cmake -S . -B build -DJSON_CI=On - name: Build @@ -364,7 +364,7 @@ jobs: persist-credentials: false # The module test uses `import std;`, which needs CMake 4.5 or newer. - name: Get CMake 4.5+ and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 with: cmakeVersion: '^4.5.0' # Clang: the std library module is provided by libc++ (the image's libstdc++ @@ -390,7 +390,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Run CMake run: cmake -S . -B build -DJSON_CI=On - name: Build @@ -407,7 +407,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Run CMake run: cmake -S . -B build -DJSON_CI=On - name: Build @@ -421,7 +421,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Run CMake run: cmake -S . -B build -DJSON_CI=On - name: Build @@ -441,7 +441,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Run CMake run: cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=$EMSDK/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -GNinja - name: Build @@ -482,7 +482,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Check that the job runs natively on arm64 run: uname -m && test "$(uname -m)" = aarch64 - name: Run CMake diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 0643b002f..cbcd3f7d1 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -90,7 +90,7 @@ jobs: with: persist-credentials: false - name: Get latest CMake and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 - name: Set extra CXX_FLAGS for latest std_version # /wd5285 silences C5285 emitted by the bundled third-party doctest.h, which # specializes std::tuple (newly diagnosed by the VS2026 v145 toolset) @@ -214,7 +214,7 @@ jobs: persist-credentials: false # The module test uses `import std;`, which needs CMake 4.5 or newer. - name: Get CMake 4.5+ and ninja - uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5 + uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0 with: cmakeVersion: '^4.5.0' # CMAKE_CXX_FLAGS replaces CMake's MSVC defaults (which include /EHsc), and