-
Notifications
You must be signed in to change notification settings - Fork 3
37 lines (34 loc) · 955 Bytes
/
rocky.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: rocky
on:
push:
branches:
- '**'
tags-ignore:
- '*'
pull_request:
jobs:
imager:
runs-on: ubuntu-latest
container:
image: rockylinux/rockylinux:8
timeout-minutes: 10
steps:
- name: install dependencies
run: |
dnf update -y
dnf groupinstall -y "Development Tools"
dnf install -y --enablerepo=powertools libtiff-devel libpng-devel giflib-devel freetype-devel libjpeg-devel perl-Test-Pod-Coverage perl-Test-Pod perl-Pod-Parser cpanminus
cpanm Parse::RecDescent
- name: checkout
uses: actions/checkout@v4
- name: git annoyance
run: git config --global --add safe.directory /__w/imager/imager
- name: configure
run: |
perl Makefile.PL
- name: build
run: |
make -j2
- name: test
run: |
HARNESS_OPTIONS=j2 IMAGER_AUTHOR_TESTING=1 make test