File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run the test suite
2+
3+ on :
4+ pull_request :
5+ push :
6+ schedule :
7+ - cron : ' 0 14 * * 5' # Every Friday 2pm
8+ workflow_dispatch :
9+
10+ # Drop permissions to minimum for security
11+ permissions :
12+ contents : read
13+
14+ jobs :
15+ test_suite :
16+ name : Run the test suite
17+ runs-on : ubuntu-24.04
18+ steps :
19+ - uses : actions/checkout@v4
20+
21+ - name : Install dependencies
22+ run : |-
23+ packages=(
24+ libcapture-tiny-perl # CPAN Capture::Tiny
25+ libdatetime-perl # CPAN DateTime
26+ libdevel-cover-perl # CPAN Devel::Cover
27+ libdigest-md5-file-perl # CPAN Digest::MD5
28+ libfile-spec-native-perl # CPAN File::Spec
29+ libjson-xs-perl # CPAN JSON::XS
30+ # CPAN Memory::Process
31+ # CPAN Module::Load::Conditional
32+ libscalar-list-utils-perl # CPAN Scalar::Util
33+ # CPAN Time::HiRes
34+ )
35+ set -x
36+ sudo apt-get update
37+ sudo apt-get install --no-install-recommends --yes -V "${packages[@]}"
38+
39+ - name : make check
40+ run : |-
41+ make check
42+
43+ - name : make install
44+ run : |-
45+ make install PREFIX=/usr CFG_DIR=/etc DESTDIR="${PWD}/ROOT"
46+ find ROOT/ | sort
47+
48+ - name : make uninstall
49+ run : |-
50+ make uninstall PREFIX=/usr CFG_DIR=/etc DESTDIR="${PWD}/ROOT"
51+ find ROOT/ | sort
You can’t perform that action at this time.
0 commit comments