Skip to content

CI use macos-latest, windows 5.32 due to pl2bat failure #46

CI use macos-latest, windows 5.32 due to pl2bat failure

CI use macos-latest, windows 5.32 due to pl2bat failure #46

Workflow file for this run

name: perl
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
create:
env:
IRC_REPO_OWNER: 'EntropyOrg'
jobs:
notify:
runs-on: ubuntu-latest
continue-on-error: true
if: ${{ always() }}
steps:
- uses: PDLPorters/devops/github-actions/irc-notifications@master
with:
target-notifications: true
repository_owner: ${{ env.IRC_REPO_OWNER }}
dist:
name: Make distribution using Dist::Zilla
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: 'build-dzil-dist'
uses: PDLPorters/devops/github-actions/build-dzil-dist@master
ci:
runs-on: ${{ matrix.os }}
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
needs: [ dist ]
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
perl-version: ['5']
include:
- { os: 'ubuntu-latest', perl-version: "5.16" }
- { os: 'ubuntu-latest', perl-version: "5.20" }
- { os: 'ubuntu-latest', perl-version: "5.30" }
- { os: 'ubuntu-latest', perl-version: "5.32" }
- { os: 'windows-latest', perl-version: "5.38" }
#- perl-version: '5.32'
# os: ubuntu-latest
# release-test: true
# coverage: true
steps:
- uses: actions/checkout@v2
- name: Get dist artifact
uses: actions/download-artifact@v4
with:
name: dist
path: build-dir
- name: 'ci-dist: target-setup-perl'
uses: PDLPorters/devops/github-actions/ci-dist@master
with:
path: build-dir
target-setup-perl: true
perl-version: ${{ matrix.perl-version }}
# Sereal::Encoder can not build in parallel on Windows
build-enable-parallel: ${{ ! startsWith(matrix.os, 'windows-') }}
- name: 'ci-dist: target-all after install-dist-perl-deps'
uses: PDLPorters/devops/github-actions/ci-dist@master
with:
path: build-dir
target-setup-perl: false
target-install-dist-perl-deps: true
target-test-release-testing: true
target-test: true
build-enable-parallel: ${{ ! startsWith(matrix.os, 'windows-') }}
test-enable-release-testing: ${{ matrix.release-test }}
test-enable-coverage: ${{ matrix.coverage }}
github-token: ${{ secrets.GITHUB_TOKEN }}
build-status:
runs-on: ubuntu-latest
continue-on-error: true
if: ${{ always() }}
needs: [ 'ci' ]
steps:
- uses: PDLPorters/devops/github-actions/irc-notifications@master
with:
target-build-status: true
needs: ${{ toJSON(needs) }}
repository_owner: ${{ env.IRC_REPO_OWNER }}