From 0713ae1bc900a039b08e38463393234773d6efda Mon Sep 17 00:00:00 2001 From: Ed J Date: Sat, 7 Dec 2024 17:12:08 +0000 Subject: [PATCH] add CI --- .github/workflows/ci.yml | 55 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1ffed9c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,55 @@ +name: perl +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: + +jobs: + ci: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest] + perl-version: ['5.16', '5.20'] + include: + - perl-version: '5.30' + os: ubuntu-latest + release-test: true + coverage: true + - perl-version: '5.30' + os: macos-latest + steps: + - uses: actions/checkout@v2 + - name: 'ci-dist: target-setup-perl' + uses: PDLPorters/devops/github-actions/ci-dist@master + with: + target-setup-perl: true + perl-version: ${{ matrix.perl-version }} + - name: Install PDL dependencies + uses: PDLPorters/devops/github-actions/install-dep-pdl-dep@master + - name: 'ci-dist: target-all' + uses: PDLPorters/devops/github-actions/ci-dist@master + with: + target-setup-perl: false + target-install-dist-perl-deps: true + dist-perl-deps-configure: PDL + target-test-release-testing: true + target-test: true + 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) }}