Skip to content

Commit a8152f5

Browse files
authored
Update other-perls.yml
1 parent 02349bb commit a8152f5

File tree

1 file changed

+11
-35
lines changed

1 file changed

+11
-35
lines changed

.github/workflows/other-perls.yml

Lines changed: 11 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,19 @@ name: Perl CI with Inline::C and OpenMP
33
on: [push, pull_request]
44

55
jobs:
6-
test:
6+
build:
7+
runs-on: ${{ matrix.os }}
78
strategy:
89
matrix:
9-
os: [ubuntu-latest]
10-
perl: ["5.36", "5.34", "5.32"] # Last three stable versions of Perl
11-
runs-on: ${{ matrix.os }}
12-
10+
os: ["ubuntu-latest"]
11+
perl: ["5.38", "5.36", "5.34"]
12+
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
1313
steps:
14-
- name: Checkout Repository
15-
uses: actions/checkout@v4
16-
17-
# ---- Set Up Perl using Perlbrew ----
18-
- name: Install Perl
19-
uses: shogo82148/actions-perlbrew@v1
14+
- uses: actions/checkout@v4
15+
- name: Set up perl
16+
uses: shogo82148/actions-setup-perl@v1
2017
with:
2118
perl-version: ${{ matrix.perl }}
22-
23-
# ---- Install Build Essentials ----
24-
- name: Install Build Essentials
25-
run: |
26-
sudo apt-get update
27-
sudo apt-get install -y build-essential libgomp1
28-
29-
# ---- Install Perl Modules via CPAN ----
30-
- name: Install Required Perl Modules via CPAN
31-
run: |
32-
sudo cpanm --notest --verbose Alien::OpenMP Util::H2O::More File::Temp \
33-
Test::Exception Test::Deep OpenMP::Environment File::ShareDir \
34-
Inline::C Dist::Zilla
35-
36-
# ---- Install Author Dependencies ----
37-
- name: Install dzil authordeps
38-
run: |
39-
dzil authordeps --missing | cpanm --notest --verbose
40-
sudo cpanm --notest --verbose Dist::Zilla::Plugin::VersionFromModule # Redundant but ensures presence
41-
42-
# ---- Run `dzil test` ----
43-
- name: Run `dzil test`
44-
run: |
45-
dzil test
19+
- run: perl -V
20+
- run: cpanm --installdeps .
21+
- run: prove -lv t

0 commit comments

Comments
 (0)