Skip to content

Commit

Permalink
Upgrade workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
toddr committed Dec 28, 2023
1 parent cdd28cd commit 2f0c6d9
Showing 1 changed file with 33 additions and 29 deletions.
62 changes: 33 additions & 29 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,64 +22,67 @@ jobs:
- uses: actions/checkout@v2
- name: perl -V
run: perl -V
- name: Install Dependencies
- name: Install dependencies
uses: perl-actions/install-with-cpm@v1
with:
cpanfile: "cpanfile"
- name: Makefile.PL
run: perl -I$(pwd) Makefile.PL
- name: make test
run: make test
- run: perl Makefile.PL
- run: make
- run: make test
- run: sudo make install

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

linux:
name: "linux ${{ matrix.perl-version }}"
needs: [ubuntu]
runs-on: ubuntu-latest

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

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
perl-version:
- "latest"
- "5.32"
- "5.30"
- "5.28"
- "5.26"
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
- "5.8"
[
"5.32",
"5.30",
"5.28",
"5.26",
"5.24",
"5.22",
"5.20",
"5.18",
"5.16",
"5.14",
]

container:
image: perl:${{ matrix.perl-version }}
image: perldocker/perl-tester:${{ matrix.perl-version }}

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

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

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

env:
PERL_USE_UNSAFE_INC: 0
Expand All @@ -94,11 +97,12 @@ jobs:
run: brew install perl
- name: perl -V
run: perl -V
- name: Install Dependencies
- name: Install dependencies
uses: perl-actions/install-with-cpm@v1
with:
sudo: false
cpanfile: "cpanfile"
- run: perl Makefile.PL
sudo: false
- name: perl Makefile.PL
run: perl Makefile.PL
- run: make
- run: make test

0 comments on commit 2f0c6d9

Please sign in to comment.