Skip to content

Commit

Permalink
Merge 2c55beb into 0d31e3f
Browse files Browse the repository at this point in the history
  • Loading branch information
zmughal authored Oct 25, 2021
2 parents 0d31e3f + 2c55beb commit 39f4765
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 0 deletions.
71 changes: 71 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: perl
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
create:
jobs:
notify:
runs-on: ubuntu-latest
continue-on-error: true
if: ${{ always() }}
steps:
- uses: PDLPorters/devops/github-actions/irc-notifications@master
with:
target-notifications: false # TODO
ci:
runs-on: ${{ matrix.os }}
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
needs: notify
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
perl-version: ['5.10', '5.14', '5.20']
include:
- perl-version: '5.30'
os: ubuntu-latest
release-test: true
coverage: true
#- perl-version: '5.30'
# os: windows-latest
- perl-version: '5.30'
os: macos-11
steps:
- uses: actions/checkout@v2
- name: 'ci-dist: target-setup-perl'
uses: PDLPorters/devops/github-actions/ci-dist@gha-bulk-actions # TODO
with:
target-setup-perl: true
perl-version: ${{ matrix.perl-version }}
- name: Install PDL dependencies
if: matrix.os == 'ubuntu-latest'
uses: PDLPorters/devops/github-actions/install-dep-pdl-dep@master
- name: Install Perl configure deps
shell: bash
run: |
$MYPERL -S cpanm --dev -n Alien::Base::ModuleBuild || cat ~/.cpanm/build.log
- name: 'ci-dist: target-all'
uses: PDLPorters/devops/github-actions/ci-dist@gha-bulk-actions # TODO
with:
target-setup-perl: false
target-install-dist-perl-deps: true
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: false # TODO
needs: ${{ toJSON(needs) }}
17 changes: 17 additions & 0 deletions .github/workflows/issue-notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: issue-notify

on:
issues:
types: [opened]
issue_comment:
types: [created]

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

0 comments on commit 39f4765

Please sign in to comment.