summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Konojacki <me@xenu.pl>2021-03-08 11:56:22 +0100
committerTomasz Konojacki <me@xenu.pl>2021-03-08 11:56:22 +0100
commit8af7382772b33d14f520a86cb29b421f124bfadb (patch)
treef1b74f4f305a7bf6ff62b39d65b9744d8f0370f9
parente00f60209b46e235841f45d7d2b810bfdbcd8c09 (diff)
downloadperl-8af7382772b33d14f520a86cb29b421f124bfadb.tar.gz
testsuite.yml: set CCHOME during 'make'
CCHOME is needed to set $Config{libpth} correctly. The latest version of Win32 (which I'm about to import from CPAN) is linking with a library that isn't listed in $Config{libs} and because of that it needs $Config{libpth} to be valid.
-rw-r--r--.github/workflows/testsuite.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml
index ad3b097a26..27c79ff675 100644
--- a/.github/workflows/testsuite.yml
+++ b/.github/workflows/testsuite.yml
@@ -363,14 +363,13 @@ jobs:
shell: cmd
run: |
cd win32
- gmake -f GNUMakefile -j2
+ gmake CCHOME=C:\strawberry\c -f GNUMakefile -j2
- name: Run Tests
shell: cmd
run: |
cd win32
set HARNESS_OPTIONS=j2
- set CCHOME=C:\strawberry\c
- gmake -f GNUMakefile test
+ gmake CCHOME=C:\strawberry\c -f GNUMakefile test
#===============================================