Skip to content

Commit 3f2ef92

Browse files
authored
Update to Actions (#12)
Covers perl: ["5.40","5.38","5.36","5.34","5.32","5.30","5.28","5.26","5.24","5.22","5.20"]
1 parent 0103c5e commit 3f2ef92

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/other-perls.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Perl CI with Inline::C and OpenMP
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: ["ubuntu-latest"]
11+
perl: ["5.40","5.38","5.36","5.34","5.32","5.30","5.28","5.26","5.24","5.22","5.20"]
12+
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Perl
18+
uses: shogo82148/actions-setup-perl@v1
19+
with:
20+
perl-version: ${{ matrix.perl }}
21+
22+
- run: perl -V
23+
- run: perl -v
24+
25+
- name: Install Required Perl Modules
26+
run: |
27+
cpanm --verbose --notest Module::Build Inline::C Alien::OpenMP \
28+
Util::H2O::More File::Temp Test::Exception Test::Deep \
29+
OpenMP::Environment File::ShareDir Dist::Zilla
30+
31+
- name: Set Dist::Zilla for 'dzil test' command
32+
run: |
33+
dzil authordeps --missing | cpanm --verbose # Install required author dependencies
34+
cpanm --verbose --notest Dist::Zilla::Plugin::VersionFromModule # this may be redundant
35+
36+
- name: Run Tests
37+
run: dzil test

0 commit comments

Comments
 (0)