Skip to content

Commit a23a90c

Browse files
committed
Add rocky linux github CI runner
1 parent 8453c47 commit a23a90c

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/ci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,47 @@ on:
88
- cron: '0 3 * * 0'
99

1010
jobs:
11+
test-rocky:
12+
runs-on: ubuntu-latest
13+
container:
14+
image: rockylinux/rockylinux:9
15+
name: OS Rocky9
16+
17+
steps:
18+
- name: Set up necessary packages
19+
run: |
20+
dnf install perl cpanminus git -y
21+
22+
- name: Show Perl Version
23+
run: |
24+
perl -v
25+
cpanm -v
26+
27+
- uses: actions/checkout@v3
28+
29+
- name: Install Dist::Zilla
30+
run: |
31+
cpanm --notest Dist::Zilla
32+
33+
- name: Install Modules
34+
run: |
35+
rm /github/home/.cpanm/work/*/build.log
36+
dzil authordeps --missing | cpanm --notest
37+
dzil listdeps --develop --missing | cpanm --notest
38+
39+
- name: Show Errors
40+
if: ${{ failure() }}
41+
run: |
42+
cat /github/home/.cpanm/work/*/build.log
43+
44+
- name: Run tests
45+
env:
46+
AUTHOR_TESTING: 1
47+
RELEASE_TESTING: 1
48+
run: |
49+
git config --global --add safe.directory $(pwd)
50+
dzil test
51+
1152
test:
1253
strategy:
1354
fail-fast: false

0 commit comments

Comments
 (0)