From 1a5f7a002c5e3344f048a59ba5d3c789bb74a68e Mon Sep 17 00:00:00 2001 From: "Jonathan B. Coe" Date: Sun, 19 Jul 2026 12:51:55 +0100 Subject: [PATCH 1/9] Attempt to prevent MSVC from corrupting JSON --- .github/workflows/cmake.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index eb1e17f9..423b3a9a 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -181,6 +181,9 @@ jobs: run: cmake --build --preset ${{ matrix.configuration }} - name: Test + env: + MSBUILDDISABLENODEREUSE: '1' + CMAKE_NO_VERBOSE: '1' # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail run: ctest --preset ${{ matrix.configuration }} From 0d937ada1ac7d6f7f9181231600a8aaaa1cfa88c Mon Sep 17 00:00:00 2001 From: "Jonathan B. Coe" Date: Sun, 19 Jul 2026 12:58:18 +0100 Subject: [PATCH 2/9] Add explicit configuration for test builds --- .github/workflows/cmake.yml | 3 --- CMakePresets.json | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 423b3a9a..eb1e17f9 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -181,9 +181,6 @@ jobs: run: cmake --build --preset ${{ matrix.configuration }} - name: Test - env: - MSBUILDDISABLENODEREUSE: '1' - CMAKE_NO_VERBOSE: '1' # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail run: ctest --preset ${{ matrix.configuration }} diff --git a/CMakePresets.json b/CMakePresets.json index 2f4531e0..f2889b6e 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -48,7 +48,7 @@ { "name": "Release", "displayName": "Release", "configurePreset": "Release", "configuration": "Release" } ], "testPresets": [ - { "name": "Debug", "displayName": "Debug", "configurePreset": "Debug" }, - { "name": "Release", "displayName": "Release", "configurePreset": "Release" } + { "name": "Debug", "displayName": "Debug", "configurePreset": "Debug", "configuration": "Debug" }, + { "name": "Release", "displayName": "Release", "configurePreset": "Release", "configuration": "Release" } ] } From 66f6218b75135e428bae1f248df2bfcdaf96e268 Mon Sep 17 00:00:00 2001 From: "Jonathan B. Coe" Date: Sun, 19 Jul 2026 13:00:58 +0100 Subject: [PATCH 3/9] Attempt to prevent MSVC from corrupting JSON --- .github/workflows/cmake.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index eb1e17f9..423b3a9a 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -181,6 +181,9 @@ jobs: run: cmake --build --preset ${{ matrix.configuration }} - name: Test + env: + MSBUILDDISABLENODEREUSE: '1' + CMAKE_NO_VERBOSE: '1' # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail run: ctest --preset ${{ matrix.configuration }} From af75996878eae49167f82ef86dcc9ed4524df016 Mon Sep 17 00:00:00 2001 From: "Jonathan B. Coe" Date: Sun, 19 Jul 2026 13:04:38 +0100 Subject: [PATCH 4/9] Suppress action validator issues --- .github/workflows/cmake.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 423b3a9a..4c6cd7a8 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -1,5 +1,6 @@ name: CMake test - +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: 'true' on: schedule: - cron: "0 1 * * *" From 5549cd939f2e7e80f13d70d9d67981f0aa4f754d Mon Sep 17 00:00:00 2001 From: "Jonathan B. Coe" Date: Sun, 19 Jul 2026 13:07:25 +0100 Subject: [PATCH 5/9] Suppress action validator issues --- .github/workflows/cmake.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 4c6cd7a8..d7cb53a1 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -1,6 +1,4 @@ name: CMake test -env: - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: 'true' on: schedule: - cron: "0 1 * * *" @@ -27,6 +25,8 @@ jobs: build: name: ${{ matrix.settings.name }} ${{ matrix.configuration }} runs-on: ${{ matrix.settings.os }} + env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: 'true' strategy: fail-fast: false matrix: From 469bf13dd5051c7f8588ca9d175d7ad149cad66c Mon Sep 17 00:00:00 2001 From: "Jonathan B. Coe" Date: Sun, 19 Jul 2026 13:10:03 +0100 Subject: [PATCH 6/9] Suppress action validator issues --- .github/workflows/integrity_checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integrity_checks.yml b/.github/workflows/integrity_checks.yml index 16631550..a95ccd9a 100644 --- a/.github/workflows/integrity_checks.yml +++ b/.github/workflows/integrity_checks.yml @@ -23,7 +23,7 @@ jobs: submodules: true - name: Install action-validator with asdf - uses: asdf-vm/actions/install@v3 + uses: asdf-vm/actions/install@v4 with: tool_versions: | action-validator 0.5.1 From 4869645acc2c4d6b2d6026146dbb91e750847b0b Mon Sep 17 00:00:00 2001 From: "Jonathan B. Coe" Date: Sun, 19 Jul 2026 13:12:34 +0100 Subject: [PATCH 7/9] Attempt to prevent MSVC from corrupting JSON --- .github/workflows/cmake.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index d7cb53a1..436b436f 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -25,8 +25,6 @@ jobs: build: name: ${{ matrix.settings.name }} ${{ matrix.configuration }} runs-on: ${{ matrix.settings.os }} - env: - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: 'true' strategy: fail-fast: false matrix: @@ -187,4 +185,4 @@ jobs: CMAKE_NO_VERBOSE: '1' # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail - run: ctest --preset ${{ matrix.configuration }} + run: ctest --preset ${{ matrix.configuration }} -C ${{ matrix.configuration }} From 0b398cfb300dd66c21c2585ca0d8e089a651b73f Mon Sep 17 00:00:00 2001 From: "Jonathan B. Coe" Date: Sun, 19 Jul 2026 13:16:36 +0100 Subject: [PATCH 8/9] Reduce scope of changes --- .github/workflows/cmake.yml | 4 +--- CMakePresets.json | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 436b436f..d947a253 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -1,4 +1,5 @@ name: CMake test + on: schedule: - cron: "0 1 * * *" @@ -180,9 +181,6 @@ jobs: run: cmake --build --preset ${{ matrix.configuration }} - name: Test - env: - MSBUILDDISABLENODEREUSE: '1' - CMAKE_NO_VERBOSE: '1' # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail run: ctest --preset ${{ matrix.configuration }} -C ${{ matrix.configuration }} diff --git a/CMakePresets.json b/CMakePresets.json index f2889b6e..2f4531e0 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -48,7 +48,7 @@ { "name": "Release", "displayName": "Release", "configurePreset": "Release", "configuration": "Release" } ], "testPresets": [ - { "name": "Debug", "displayName": "Debug", "configurePreset": "Debug", "configuration": "Debug" }, - { "name": "Release", "displayName": "Release", "configurePreset": "Release", "configuration": "Release" } + { "name": "Debug", "displayName": "Debug", "configurePreset": "Debug" }, + { "name": "Release", "displayName": "Release", "configurePreset": "Release" } ] } From 315a44a3ced45912191369720ef1097e5b2509de Mon Sep 17 00:00:00 2001 From: "Jonathan B. Coe" Date: Sun, 19 Jul 2026 14:01:53 +0100 Subject: [PATCH 9/9] Fix CMake presets --- CMakePresets.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index 2f4531e0..a84cde68 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -48,7 +48,7 @@ { "name": "Release", "displayName": "Release", "configurePreset": "Release", "configuration": "Release" } ], "testPresets": [ - { "name": "Debug", "displayName": "Debug", "configurePreset": "Debug" }, - { "name": "Release", "displayName": "Release", "configurePreset": "Release" } + { "name": "Debug", "displayName": "Debug", "configurePreset": "Debug", "configuration": "Debug" }, + { "name": "Release", "displayName": "Release", "configurePreset": "Release", "configuration": "Release" } ] }