Skip to content

Commit

Permalink
Merge pull request #12 from atoomic/smoke++
Browse files Browse the repository at this point in the history
Smoke more Perl versions
  • Loading branch information
atoomic committed Jul 17, 2023
2 parents 4ddf1d0 + aae502e commit 3e68e60
Showing 1 changed file with 6 additions and 51 deletions.
57 changes: 6 additions & 51 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: perl -V
run: perl -V
- name: Install Dependencies
uses: perl-actions/install-with-cpm@v1
uses: perl-actions/install-with-cpm@stable
with:
cpanfile: "cpanfile"
- name: Makefile.PL
Expand All @@ -46,7 +46,10 @@ jobs:
strategy:
matrix:
perl-version:
- "latest"
- "devel"
- "5.38"
- "5.36"
- "5.34"
- "5.32"
- "5.30"
- "5.28"
Expand All @@ -69,60 +72,12 @@ jobs:
- name: perl -V
run: perl -V
- name: Install Dependencies
uses: perl-actions/install-with-cpm@v1
uses: perl-actions/install-with-cpm@stable
with:
sudo: false
cpanfile: "cpanfile"
- run: perl Makefile.PL
- run: make
- run: make test

macOS:
needs: [ubuntu, linux]
runs-on: macOS-latest

env:
PERL_USE_UNSAFE_INC: 0
AUTHOR_TESTING: 1
AUTOMATED_TESTING: 1
RELEASE_TESTING: 1
PERL_CARTON_PATH: $GITHUB_WORKSPACE/local

steps:
- uses: actions/checkout@v2
- name: Set up Perl
run: brew install perl
- name: perl -V
run: perl -V
- name: Install Dependencies
uses: perl-actions/install-with-cpm@v1
with:
sudo: false
cpanfile: "cpanfile"
- run: perl Makefile.PL
- run: make
- run: make test

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

steps:
- uses: actions/checkout@v2
- name: Set up Perl
run: |
choco install strawberryperl
echo "##[add-path]C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin"
- name: perl -V
run: perl -V
- name: Install Dependencies
uses: perl-actions/install-with-cpm@v1
with:
sudo: false
cpanfile: "cpanfile"
- name: perl Makefile.PL
run: perl Makefile.PL
- name: make
run: make
- name: Run Tests
run: make test

0 comments on commit 3e68e60

Please sign in to comment.