From 58c39d0a0f58c3fdb3027d3a9b2d269367b83c72 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Sat, 17 Oct 2026 04:58:59 +0000 Subject: fix(ci): run Windows tests with native Strawberry Perl MSYS perl applies Unix path rules to the native D:/ drive paths that CMake passes for run.pl and its --perl, --case and --results arguments, failing abs_path and script lookups so 67 of 69 ctest cases errored. Point PERL_EXECUTABLE at the runner's preinstalled Strawberry Perl and fail the build step loudly when it is absent. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/nightly-build.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github') diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 54c1444..0bbb358 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -282,9 +282,11 @@ jobs: - name: Build the embedded release package shell: msys2 {0} run: | + test -x /c/Strawberry/perl/bin/perl.exe cmake -S . -B build -G "MinGW Makefiles" \ -DCMAKE_BUILD_TYPE=Release -DCPSC_RUN_MODE=EMBEDDED \ -DBUILD_TESTING=ON -DCPSC_TEST_SEED="$GITHUB_SHA" \ + -DPERL_EXECUTABLE="C:/Strawberry/perl/bin/perl.exe" \ -DCMAKE_C_COMPILER="$(cygpath -m /mingw64/bin/clang.exe)" \ -DCMAKE_CXX_COMPILER="$(cygpath -m /mingw64/bin/clang++.exe)" \ -DLLVM_DIR="$(cygpath -m /mingw64/lib/cmake/llvm)" \ -- cgit v1.3.1-4-g156e