Skip to content

Commit 24336ee

Browse files
committed
add CI
1 parent 3fcbb02 commit 24336ee

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed

.github/workflows/ci.yml

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: perl
2+
on:
3+
push:
4+
branches:
5+
- '*'
6+
tags-ignore:
7+
- '*'
8+
pull_request:
9+
jobs:
10+
ci:
11+
runs-on: ${{ matrix.os }}
12+
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
os: [ubuntu-latest]
17+
perl-version: ['5.16', '5.20']
18+
include:
19+
- perl-version: '5.30'
20+
os: ubuntu-latest
21+
release-test: true
22+
coverage: true
23+
#- perl-version: '5.30'
24+
# os: windows-latest
25+
- perl-version: '5.30'
26+
os: macos-latest
27+
steps:
28+
- uses: actions/checkout@v2
29+
- name: 'ci-dist: target-setup-perl'
30+
uses: PDLPorters/devops/github-actions/ci-dist@master
31+
with:
32+
target-setup-perl: true
33+
perl-version: ${{ matrix.perl-version }}
34+
- name: Install PDL dependencies
35+
uses: PDLPorters/devops/github-actions/install-dep-pdl-dep@master
36+
- name: Install HDF5
37+
uses: PDLPorters/devops/github-actions/install-dep-hdf4@master
38+
- name: 'ci-dist: target-all'
39+
uses: PDLPorters/devops/github-actions/ci-dist@master
40+
with:
41+
target-setup-perl: false
42+
target-install-dist-perl-deps: true
43+
dist-perl-deps-configure: PDL
44+
target-test-release-testing: true
45+
target-test: true
46+
test-enable-release-testing: ${{ matrix.release-test }}
47+
test-enable-coverage: ${{ matrix.coverage }}
48+
github-token: ${{ secrets.GITHUB_TOKEN }}
49+
50+
build-status:
51+
runs-on: ubuntu-latest
52+
continue-on-error: true
53+
if: ${{ always() }}
54+
needs: [ 'ci' ]
55+
steps:
56+
- uses: PDLPorters/devops/github-actions/irc-notifications@master
57+
with:
58+
target-build-status: true
59+
needs: ${{ toJSON(needs) }}

.github/workflows/issue-notify.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: issue-notify
2+
3+
on:
4+
issues:
5+
types: [opened,assigned,closed,reopened]
6+
issue_comment:
7+
types: [created]
8+
pull_request:
9+
pull_request_review:
10+
types: [submitted]
11+
push:
12+
branches:
13+
- '*'
14+
tags-ignore:
15+
- '*'
16+
create:
17+
jobs:
18+
notify:
19+
runs-on: ubuntu-latest
20+
continue-on-error: true
21+
if: ${{ always() }}
22+
steps:
23+
- uses: PDLPorters/devops/github-actions/irc-notifications@master
24+
with:
25+
target-notifications: true

0 commit comments

Comments
 (0)