Skip to content

Commit

Permalink
CI: Cygwin, and blead
Browse files Browse the repository at this point in the history
  • Loading branch information
FGasper committed Mar 22, 2023
1 parent 94b6b1b commit 8fddb8e
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions .github/workflows/perl.yml
Expand Up @@ -23,6 +23,8 @@ jobs:
fail-fast: false
matrix:
perl-version:
- 'devel'
- '5.36'
- '5.34'
- '5.32'
- '5.30'
Expand All @@ -42,7 +44,7 @@ jobs:
image: perldocker/perl-tester:${{ matrix.perl-version }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@main
- name: perl -V
run: perl -V
- name: Install Dependencies
Expand Down Expand Up @@ -78,7 +80,7 @@ jobs:
runs-on: macOS-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@main
- name: Set up Perl
run: brew install perl
- name: perl -V
Expand All @@ -100,7 +102,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@main
- name: Set up Perl
run: |
choco install strawberryperl
Expand All @@ -121,21 +123,16 @@ jobs:

steps:
- name: Set up Cygwin
uses: egor-tensin/setup-cygwin@v3
uses: cygwin/cygwin-install-action@master
with:
platform: x64
packages: perl_base perl-ExtUtils-MakeMaker make gcc-g++ libcrypt-devel bash libnsl-devel
- uses: actions/checkout@v2
- run: perl -V
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
- run: cpan -T App::cpanminus
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
- name: Install Dependencies
run: cd $GITHUB_WORKSPACE; cpanm --verbose --notest --installdeps --with-configure --with-recommends --with-develop .
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
- name: perl Makefile.PL
run: cd $GITHUB_WORKSPACE; perl Makefile.PL
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
- name: make test
run: cd $GITHUB_WORKSPACE; make test
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
- uses: actions/checkout@main
- shell: C:\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
run: |
perl -V
cpan -T App::cpanminus
cd $GITHUB_WORKSPACE;
cpanm --verbose --notest --installdeps --with-configure --with-recommends --with-develop .
perl Makefile.PL
make test

0 comments on commit 8fddb8e

Please sign in to comment.