From 58041e85ed2b940270d41052c24a6bd0f2c6ea83 Mon Sep 17 00:00:00 2001 From: Scot Breitenfeld Date: Thu, 2 Jul 2026 16:51:59 -0500 Subject: [PATCH] ci: fix invalid 'ctest --build' invocation in Run API tests step --build is a cmake flag, not a ctest one ("CMake Error: Unknown argument: --build"); the actual build already happens in the preceding step via cmake --build. This was failing the "Ubuntu GCC DBG" job outright, and via this workflow's fail-fast matrix strategy, cancelling every other job in the run (including the -Werror builds, which otherwise compile cleanly) before they could report their own real status. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bfa1130..a916304 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -228,5 +228,5 @@ jobs: - name: Run API tests run: | cd "$GITHUB_WORKSPACE/api-tests/build" - ctest --build . --parallel 2 -C ${{ matrix.build_mode.cmake }} -V + ctest --parallel 2 -C ${{ matrix.build_mode.cmake }} -V if: (matrix.run_tests)