diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml new file mode 100644 index 00000000..31d94a79 --- /dev/null +++ b/.github/workflows/linux.yml @@ -0,0 +1,30 @@ +name: linux +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: +jobs: + perl: + runs-on: ubuntu-latest + strategy: + matrix: + perl-version: + - '5.22' + - '5.32' + - '5.34' + - '5.36' + container: + image: perl:${{ matrix.perl-version }} + steps: + - uses: actions/checkout@v2 + - name: perl -V + run: perl -V + - name: Install dependencies + run: cpanm -n --installdeps . + - name: Set up + run: perl Makefile.PL + - name: Run Tests + run: prove -lj4 t diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 00000000..2c50ca35 --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,23 @@ +name: macos +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: +jobs: + perl: + runs-on: macOS-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Perl + run: brew install perl + - name: perl -V + run: perl -V + - name: Install Dependencies + run: curl -L https://cpanmin.us | perl - --installdeps -n . + - name: Set up + run: perl Makefile.PL + - name: Run Tests + run: prove -lj4 t