Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 0 additions & 42 deletions .github/workflows/linux.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/macos.yml

This file was deleted.

152 changes: 152 additions & 0 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
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
- run: perl -V
- name: Install Dependencies
uses: perl-actions/install-with-cpm@stable
with:
cpanfile: "cpanfile"
sudo: true
- name: Makefile.PL
run: perl 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:
[
"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",
]

container:
image: perl:${{ matrix.perl-version }}

steps:
- uses: actions/checkout@v2
- run: perl -V
- name: Install Dependencies
uses: perl-actions/install-with-cpm@stable
with:
cpanfile: "cpanfile"
sudo: false
- name: Makefile.PL
run: perl 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
- run: perl -V
- name: Install Dependencies
uses: perl-actions/install-with-cpm@stable
with:
cpanfile: "cpanfile"
sudo: false
- name: Makefile.PL
run: perl Makefile.PL
- name: make test
run: make test

windows:
needs: [ubuntu]
runs-on: windows-latest
strategy:
fail-fast: true
matrix:
perl-version:
- "5.32.0.1"
# - '5.30.3.1'
# - '5.28.2.1'
# - '5.26.3.1'
# - '5.24.4.1'
# - '5.22.3.1'
# - '5.20.3.3'
# - '5.18.4.1'
# - '5.16.3.1'
- "5.14.4.1"
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v2
- name: Remove GH's Strawberry Perl and MinGW from Path
run: |
echo "::set-env name=PATH::$(($env:Path.split(";", [System.StringSplitOptions]::RemoveEmptyEntries) | where{-not ($_ -clike '*Strawberry*' -or $_ -clike '*mingw*')}) -join ';')"
- name: Add our new Strawberry Portable Perl Paths
run: |
Remove-Item C:\straw -Recurse -ErrorAction Ignore
mkdir C:\straw
echo "::add-path::C:\straw\c\bin;C:\straw\perl\site\bin;C:\straw\perl\bin"
echo $env:PATH
- name: Set up our new Strawberry Perl
run: |
Invoke-WebRequest -Uri https://strawberry.perl.bot/download/${{ matrix.perl-version }}/strawberry-perl-${{ matrix.perl-version }}-64bit-portable.zip -OutFile ${{matrix.perl-version}}.zip
7z x "${{matrix.perl-version}}.zip" -oC:\straw
- name: perl -V
run: perl -V
- name: Ensure old Strawberries have a good toolchain
run: cpanm ExtUtils::Manifest App::cpanminus
- name: Install Dependencies
run: cpanm --installdeps .
- name: Run Tests
run: cpanm --test-only -v .
52 changes: 0 additions & 52 deletions .github/workflows/windows.yml

This file was deleted.