Fix definitions of LIKELY and UNLIKELY on older perls #49
Workflow file for this run
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: testsuite | |
on: | |
push: | |
branches: | |
- "*" | |
tags-ignore: | |
- "*" | |
pull_request: | |
jobs: | |
ubuntu: | |
env: | |
PERL_USE_UNSAFE_INC: 0 | |
AUTHOR_TESTING: 1 | |
AUTOMATED_TESTING: 1 | |
RELEASE_TESTING: 1 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: perl -V | |
run: perl -V | |
- name: Makefile.PL | |
run: perl -I$(pwd) Makefile.PL | |
- name: make test | |
run: make test | |
linux: | |
name: "linux ${{ matrix.perl-version }}" | |
needs: [ubuntu] | |
env: | |
PERL_USE_UNSAFE_INC: 0 | |
AUTHOR_TESTING: 1 | |
AUTOMATED_TESTING: 1 | |
RELEASE_TESTING: 1 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
perl-version: | |
[ | |
"perl:5.32", | |
"perl:5.30", | |
"perl:5.28", | |
"perl:5.26", | |
"perl:5.24", | |
"perl:5.22", | |
"perl:5.20", | |
"perl:5.18", | |
"perl:5.16", | |
"perl:5.14", | |
"perl:5.12", | |
"perl:5.10", | |
"perl:5.8", | |
"perldocker/perl:5.6" | |
] | |
container: | |
image: ${{ matrix.perl-version }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: perl -V | |
run: perl -V | |
- name: Makefile.PL | |
run: perl -I$(pwd) Makefile.PL | |
- name: make test | |
run: make test | |
macOS: | |
needs: [ubuntu] | |
env: | |
PERL_USE_UNSAFE_INC: 0 | |
AUTHOR_TESTING: 1 | |
AUTOMATED_TESTING: 1 | |
RELEASE_TESTING: 1 | |
runs-on: macOS-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
perl-version: [latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: perl -V | |
run: perl -V | |
- name: Makefile.PL | |
run: perl -I$(pwd) Makefile.PL | |
- name: make test | |
run: make test | |
windows: | |
needs: [ubuntu] | |
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 up Perl | |
run: | | |
choco install strawberryperl | |
echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >> $GITHUB_PATH | |
- name: perl -V | |
run: perl -V | |
- run: perl Makefile.PL | |
- run: make test |