Skip to content

Commit 0384963

Browse files
committed
Integrate windows into overall test run.
Set windows path properly so it won't run the wrong compiler.
1 parent 7096c4e commit 0384963

File tree

3 files changed

+29
-36
lines changed

3 files changed

+29
-36
lines changed

.github/workflows/testsuite.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,31 @@ jobs:
108108
run: perl Makefile.PL
109109
- run: make
110110
- run: make test
111+
112+
# ------------------------------------------------------------------------
113+
114+
windows:
115+
runs-on: windows-latest
116+
needs: [ubuntu]
117+
118+
env:
119+
PERL_USE_UNSAFE_INC: 0
120+
AUTHOR_TESTING: 0
121+
AUTOMATED_TESTING: 1
122+
RELEASE_TESTING: 0
123+
124+
steps:
125+
- uses: actions/checkout@master
126+
- name: Set PATH for Strawberry Perl
127+
uses: egor-tensin/cleanup-path@v3
128+
with:
129+
dirs: 'C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin'
130+
default: 1
131+
- name: perl -V
132+
run: perl -V
133+
- name: Makefile.PL
134+
run: perl Makefile.PL EXPATLIBPATH="C:\strawberry\c\lib" EXPATINCPATH="C:\strawberry\c\include"
135+
- name: make
136+
run: gmake
137+
- name: make test
138+
run: gmake test

.github/workflows/windows.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

Makefile.PL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use 5.004005; #Devel::CheckLib
22
use ExtUtils::MakeMaker;
3-
use lib qw(inc);
3+
use lib './inc';
44
use Devel::CheckLib;
55

66
use Config;

0 commit comments

Comments
 (0)