aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-17 04:58:59 +0000
committer_ov4 <ov4@ov4.org>2026-10-17 04:58:59 +0000
commit58c39d0a0f58c3fdb3027d3a9b2d269367b83c72 (patch)
treef11858d4cccf826b35340a055402b5a866d7d05a /.github/workflows
parent2baaa531915cefbb857100654e6c7518ee1dbf31 (diff)
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 <noreply@anthropic.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/nightly-build.yml2
1 files changed, 2 insertions, 0 deletions
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)" \