Skip to content

Commit

Permalink
Integrate windows into overall test run.
Browse files Browse the repository at this point in the history
Set windows path properly so it won't run the wrong compiler.
  • Loading branch information
toddr committed Dec 29, 2023
1 parent 7096c4e commit e2513a6
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 36 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,36 @@ jobs:
run: perl Makefile.PL
- run: make
- run: make test

# ------------------------------------------------------------------------

windows:
env:
PERL_USE_UNSAFE_INC: 0
AUTHOR_TESTING: 0
AUTOMATED_TESTING: 1
RELEASE_TESTING: 0

runs-on: windows-latest
needs: [ubuntu]

strategy:
fail-fast: false
matrix:
perl-version: [latest]

steps:
- uses: actions/checkout@master
- name: Set PATH for Strawberry Perl
uses: egor-tensin/cleanup-path@v3
with:
dirs: 'C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin'
default: 1
- name: perl -V
run: perl -V
- name: Makefile.PL
run: perl Makefile.PL EXPATLIBPATH="C:\strawberry\c\lib" EXPATINCPATH="C:\strawberry\c\include"
- name: make
run: gmake
- name: make test
run: gmake test
35 changes: 0 additions & 35 deletions .github/workflows/windows.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use 5.004005; #Devel::CheckLib
use ExtUtils::MakeMaker;
use lib qw(inc);
use lib './inc';
use Devel::CheckLib;

use Config;
Expand Down

0 comments on commit e2513a6

Please sign in to comment.