-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: ubuntu | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
tags-ignore: | ||
- '*' | ||
pull_request: | ||
|
||
jobs: | ||
perl: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-16.04 | ||
- ubuntu-18.04 | ||
- ubuntu-20.04 | ||
perl-version: | ||
- '5.8' | ||
- '5.10' | ||
- '5.12' | ||
- '5.14' | ||
- '5.16' | ||
- '5.18' | ||
- '5.20' | ||
- '5.22' | ||
- '5.24' | ||
- '5.26' | ||
- '5.28' | ||
- '5.30' | ||
- '5.32' | ||
- 'latest' | ||
|
||
container: | ||
image: perl:${{ matrix.perl-version }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Platform check | ||
run: uname -a | ||
- name: Perl version check | ||
run: perl -V | ||
- name: Prepare cpan | ||
run: | | ||
openssl version | ||
cpan App::a2p App::find2perl Make MIME::Parser DB_File | ||
- name: Install | ||
run: cpan . | ||
- name: Run tests | ||
run: | | ||
perl Makefile.PL | ||
make test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: macos | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
tags-ignore: | ||
- '*' | ||
pull_request: | ||
|
||
jobs: | ||
perl: | ||
runs-on: macOS-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Platform check | ||
run: uname -a | ||
- name: Set up Perl | ||
run: brew install perl | ||
- name: Perl version check | ||
run: perl -V | ||
- name: Prepare cpan | ||
run: | | ||
openssl version | ||
cpan App::a2p App::find2perl Make MIME::Parser DB_File | ||
- name: Install | ||
run: cpan . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: windows | ||
|
||
on: | ||
push: | ||
branches: | ||
- | ||
tags-ignore: | ||
- | ||
pull_request: | ||
|
||
jobs: | ||
perl: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- windows-2019 | ||
- windows-2016 | ||
|
||
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 version | ||
run: perl -V | ||
- name: Install | ||
run: cpan . |