From 632d71283869dc90fc00c225a6063a0f55643a59 Mon Sep 17 00:00:00 2001 From: Todd Rinaldo Date: Fri, 29 Dec 2023 06:41:11 +0000 Subject: [PATCH] allinone --- .../{testsuite.yml.off => testsuite.yml} | 33 +++++++++++++++ .github/workflows/windows.yml | 40 ------------------- 2 files changed, 33 insertions(+), 40 deletions(-) rename .github/workflows/{testsuite.yml.off => testsuite.yml} (73%) delete mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/testsuite.yml.off b/.github/workflows/testsuite.yml similarity index 73% rename from .github/workflows/testsuite.yml.off rename to .github/workflows/testsuite.yml index 88ba158..5014a35 100644 --- a/.github/workflows/testsuite.yml.off +++ b/.github/workflows/testsuite.yml @@ -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 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml deleted file mode 100644 index 1249bd2..0000000 --- a/.github/workflows/windows.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: windows - -on: - push: - branches: - - '*' - tags-ignore: - - '*' - pull_request: - -jobs: - perl: - env: - PERL_USE_UNSAFE_INC: 0 - AUTHOR_TESTING: 0 - AUTOMATED_TESTING: 1 - RELEASE_TESTING: 0 - - runs-on: windows-latest - - 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: C:\strawberry\perl\bin\perl.exe -V - - name: Makefile.PL - run: C:\strawberry\perl\bin\perl.exe Makefile.PL EXPATLIBPATH="C:\strawberry\c\lib" EXPATINCPATH="C:\strawberry\c\include" - - name: make - run: C:\strawberry\c\bin\gmake - - name: make test - run: C:\strawberry\c\bin\gmake test