File tree 1 file changed +37
-2
lines changed
1 file changed +37
-2
lines changed Original file line number Diff line number Diff line change 10
10
name : Build Perl-Dist-APPerl
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - name : Fetch repo and submodules
13
+ - name : Fetch repo
14
14
uses : actions/checkout@v3
15
15
with :
16
16
path : ' Perl-Dist-APPerl'
36
36
if-no-files-found : error
37
37
path : Perl-Dist-APPerl-v*.tar.gz
38
38
39
+ test-Perl-Dist-APPerl :
40
+ name : test Perl-Dist-APPerl
41
+ runs-on : ubuntu-latest
42
+ strategy :
43
+ matrix :
44
+ version : ['5.10', '5.36']
45
+ steps :
46
+ - name : Fetch repo
47
+ uses : actions/checkout@v3
48
+ with :
49
+ path : ' Perl-Dist-APPerl'
50
+ - name : Install Perl
51
+ uses : shogo82148/actions-setup-perl@v1
52
+ with :
53
+ perl-version : ${{ matrix.version }}
54
+ install-modules-with : cpanm
55
+ install-modules : B::Keywords HTTP::Tiny Test::Pod::LinkCheck::Lite
56
+ - name : Setup for tests
57
+ run : |
58
+ cd Perl-Dist-APPerl
59
+ cpanm --installdeps --notest .
60
+ - name : Run tests
61
+ run : |
62
+ cd Perl-Dist-APPerl
63
+ perl Makefile.PL
64
+ make
65
+ make test
66
+ make authortest
67
+ - name : Archive CPAN logs
68
+ if : ${{ failure() }}
69
+ uses : actions/upload-artifact@v3
70
+ with :
71
+ name : cpan_log
72
+ path : /home/runner/.cpanm/work/*/build.log
73
+
39
74
build-apperl :
40
75
name : Build perl.com
41
76
runs-on : ubuntu-latest
97
132
create-release :
98
133
name : Create release
99
134
runs-on : ubuntu-latest
100
- needs : [ build-linux, build-apperl ]
135
+ needs : [ build-linux, build-apperl, test-Perl-Dist-APPerl ]
101
136
steps :
102
137
- name : Fetch build artifacts
103
138
if : ${{ github.ref_type == 'tag' }}
You can’t perform that action at this time.
0 commit comments