Skip to content

Commit 17d72e5

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

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/ci.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,51 @@ 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+
# this is to fix GIT not liking owner of the checkout dir
30+
- name: Set ownership
31+
run: |
32+
chown -R $(id -u):$(id -g) $PWD
33+
34+
- name: Install Dist::Zilla
35+
run: |
36+
cpanm --notest Dist::Zilla
37+
38+
- name: Install Modules
39+
run: |
40+
rm /github/home/.cpanm/work/*/build.log
41+
dzil authordeps --missing | cpanm --notest
42+
dzil listdeps --develop --missing | cpanm --notest
43+
44+
- name: Show Errors
45+
if: ${{ failure() }}
46+
run: |
47+
cat /github/home/.cpanm/work/*/build.log
48+
49+
- name: Run tests
50+
env:
51+
AUTHOR_TESTING: 1
52+
RELEASE_TESTING: 1
53+
run: |
54+
dzil test
55+
1156
test:
1257
strategy:
1358
fail-fast: false

0 commit comments

Comments
 (0)