tuning appveyor #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 04-cygwin | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
pull_request: | |
jobs: | |
cygwin: | |
runs-on: windows-latest | |
steps: | |
- name: Set git to use LF | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
- name: Set up Cygwin | |
uses: egor-tensin/setup-cygwin@v4 | |
with: | |
packages: perl_base perl-ExtUtils-MakeMaker perl-JSON make gcc-g++ bash libcrypt-devel libnsl-devel | |
- uses: actions/checkout@v4 | |
- name: perl -V | |
run: perl -V | |
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' | |
- name: Install cpanminus | |
run: cpan 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 . | |
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 | |
run: cd $GITHUB_WORKSPACE; make -j4 | |
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' | |
- name: make test | |
run: cd $GITHUB_WORKSPACE; prove -j4 -b t | |
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' |