File tree 4 files changed +109
-2
lines changed
4 files changed +109
-2
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,16 @@ jobs:
25
25
image : perl:${{ matrix.perl-version }}
26
26
steps :
27
27
- uses : actions/checkout@v1
28
+ - name : uses install-with-cpanm
29
+ uses : perl-actions/install-with-cpanm@v1
30
+ with :
31
+ cpanfile : " cpanfile"
32
+ sudo : false
28
33
- name : Install Dependencies
29
34
run : |
30
- curl -sL https://cpanmin.us/ | perl - -nq --with-develop --installdeps .
35
+ apt-get install make gcc libssl-dev;
31
36
- name : Build Module
32
37
run : |
33
- apt-get install make gcc libssl-dev;
34
38
perl Makefile.PL;
35
39
make
36
40
- name : Run Tests
Original file line number Diff line number Diff line change
1
+
2
+ name : macos-10.15
3
+
4
+ on :
5
+ push :
6
+ branches :
7
+ - ' *'
8
+ tags-ignore :
9
+ - ' *'
10
+ pull_request :
11
+ branches :
12
+ - ' *'
13
+ jobs :
14
+ perl :
15
+ # REF: https://github.com/actions/virtual-environments
16
+ runs-on : macOS-10.15
17
+
18
+ strategy :
19
+ fail-fast : false
20
+
21
+ steps :
22
+ - uses : actions/checkout@v2
23
+ - name : uses install-with-cpanm
24
+ uses : perl-actions/install-with-cpanm@v1
25
+ with :
26
+ cpanfile : " cpanfile"
27
+ sudo : false
28
+ # REF: https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md (see link above, at the time of writing we get Perl 5.34.0 with macOS 10.15)
29
+ - name : perl -V
30
+ run : perl -V
31
+
32
+ - name : Run Tests
33
+ run : |
34
+ perl Makefile.PL
35
+ make
36
+ make test
Original file line number Diff line number Diff line change
1
+
2
+ name : macos-latest
3
+
4
+ on :
5
+ push :
6
+ branches :
7
+ - ' *'
8
+ tags-ignore :
9
+ - ' *'
10
+ pull_request :
11
+
12
+ jobs :
13
+ perl :
14
+
15
+ runs-on : macOS-latest
16
+
17
+ strategy :
18
+ fail-fast : false
19
+
20
+ steps :
21
+ - uses : actions/checkout@v2
22
+ - name : uses install-with-cpanm
23
+ uses : perl-actions/install-with-cpanm@v1
24
+ with :
25
+ cpanfile : " cpanfile"
26
+ sudo : false
27
+ - name : perl -V
28
+ run : perl -V
29
+
30
+ - name : Run Tests
31
+ run : |
32
+ perl Makefile.PL
33
+ make
34
+ make test
Original file line number Diff line number Diff line change
1
+ name : Windows-Strawberry
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' *'
7
+ tags-ignore :
8
+ - ' *'
9
+ pull_request :
10
+ branches :
11
+ - ' *'
12
+ jobs :
13
+ build :
14
+ runs-on : ${{ matrix.os }}
15
+ strategy :
16
+ matrix :
17
+ os : ['windows-latest']
18
+ perl : [ '5.32', '5.30', '5.28' ]
19
+ name : Perl ${{ matrix.perl }} on ${{ matrix.os }}
20
+ steps :
21
+ - uses : actions/checkout@v2
22
+ - name : Set up perl
23
+ uses : shogo82148/actions-setup-perl@v1
24
+ with :
25
+ perl-version : ${{ matrix.perl }}
26
+ distribution : strawberry
27
+ - name : Install Dependencies
28
+ run : cpanm --installdeps .
29
+ - name : Build Module
30
+ run : |
31
+ perl Makefile.PL
32
+ make
33
+ make test
You can’t perform that action at this time.
0 commit comments