File tree Expand file tree Collapse file tree 1 file changed +130
-0
lines changed
Expand file tree Collapse file tree 1 file changed +130
-0
lines changed Original file line number Diff line number Diff line change 1+ name : testsuite
2+
3+ on :
4+ push :
5+ branches :
6+ - " *"
7+ tags-ignore :
8+ - " *"
9+ pull_request :
10+
11+ jobs :
12+ ubuntu :
13+ env :
14+ PERL_USE_UNSAFE_INC : 0
15+ AUTHOR_TESTING : 1
16+ AUTOMATED_TESTING : 1
17+ RELEASE_TESTING : 1
18+
19+ runs-on : ubuntu-latest
20+
21+ steps :
22+ - uses : actions/checkout@v2
23+ - name : perl -V
24+ run : perl -V
25+ - name : Install Dependencies
26+ uses : perl-actions/install-with-cpm@v1
27+ with :
28+ cpanfile : " cpanfile"
29+ - name : Makefile.PL
30+ run : perl -I$(pwd) Makefile.PL
31+ - name : make test
32+ run : make test
33+
34+ linux :
35+ name : " linux ${{ matrix.perl-version }}"
36+ needs : [ubuntu]
37+ runs-on : ubuntu-latest
38+
39+ env :
40+ PERL_USE_UNSAFE_INC : 0
41+ AUTHOR_TESTING : 1
42+ AUTOMATED_TESTING : 1
43+ RELEASE_TESTING : 1
44+ PERL_CARTON_PATH : $GITHUB_WORKSPACE/local
45+
46+ strategy :
47+ matrix :
48+ perl-version :
49+ - " latest"
50+ - " 5.38"
51+ - " 5.36"
52+ - " 5.34"
53+ - " 5.32"
54+ - " 5.30"
55+ - " 5.28"
56+ - " 5.26"
57+ - " 5.24"
58+ - " 5.22"
59+ - " 5.20"
60+ - " 5.18"
61+ - " 5.16"
62+ - " 5.14"
63+ - " 5.12"
64+ - " 5.10"
65+
66+ container :
67+ image : perl:${{ matrix.perl-version }}
68+
69+ steps :
70+ - uses : actions/checkout@v2
71+ - name : perl -V
72+ run : perl -V
73+ - name : Install Dependencies
74+ uses : perl-actions/install-with-cpm@v1
75+ with :
76+ sudo : false
77+ cpanfile : " cpanfile"
78+ - run : perl Makefile.PL
79+ - run : make
80+ - run : make test
81+
82+ macOS :
83+ needs : [ubuntu, linux]
84+ runs-on : macOS-latest
85+
86+ env :
87+ PERL_USE_UNSAFE_INC : 0
88+ AUTHOR_TESTING : 1
89+ AUTOMATED_TESTING : 1
90+ RELEASE_TESTING : 1
91+ PERL_CARTON_PATH : $GITHUB_WORKSPACE/local
92+
93+ steps :
94+ - uses : actions/checkout@v2
95+ - name : Set up Perl
96+ run : brew install perl
97+ - name : perl -V
98+ run : perl -V
99+ - name : Install Dependencies
100+ uses : perl-actions/install-with-cpm@v1
101+ with :
102+ sudo : false
103+ cpanfile : " cpanfile"
104+ - run : perl Makefile.PL
105+ - run : make
106+ - run : make test
107+
108+ windows :
109+ needs : [ubuntu, linux]
110+ runs-on : windows-latest
111+
112+ steps :
113+ - uses : actions/checkout@v2
114+ - name : Set up Perl
115+ run : |
116+ choco install strawberryperl
117+ echo 'PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin' >> $GITHUB_ENV
118+ - name : perl -V
119+ run : perl -V
120+ - name : Install Dependencies
121+ uses : perl-actions/install-with-cpm@v1
122+ with :
123+ sudo : false
124+ cpanfile : " cpanfile"
125+ - name : perl Makefile.PL
126+ run : perl Makefile.PL
127+ - name : make
128+ run : make
129+ - name : Run Tests
130+ run : make test
You can’t perform that action at this time.
0 commit comments