@@ -22,14 +22,22 @@ jobs:
22
22
- uses : actions/checkout@v2
23
23
- name : perl -V
24
24
run : perl -V
25
- - name : install dependencies
25
+ - name : Install dependencies
26
26
uses : perl-actions/install-with-cpm@v1
27
27
with :
28
- install : |
29
- Pod::Text
28
+ cpanfile : " cpanfile"
30
29
- run : perl Makefile.PL
31
30
- run : make
32
31
- run : make test
32
+ - name : remove pod2usage
33
+ run : |
34
+ POD=$(which pod2usage)
35
+ echo "pod2usage: $POD"
36
+ sudo rm -f $POD ||:
37
+ - run : sudo make install
38
+ - run : which pod2usage
39
+
40
+ # ------------------------------------------------------------------------
33
41
34
42
linux :
35
43
name : " linux ${{ matrix.perl-version }}"
@@ -63,18 +71,52 @@ jobs:
63
71
]
64
72
65
73
container :
66
- image : perl:${{ matrix.perl-version }}
74
+ image : perldocker/ perl-tester :${{ matrix.perl-version }}
67
75
68
76
steps :
69
77
- uses : actions/checkout@v2
70
78
- name : perl -V
71
79
run : perl -V
72
- - name : install dependencies
80
+ - name : Install dependencies
73
81
uses : perl-actions/install-with-cpm@v1
74
82
with :
83
+ cpanfile : " cpanfile"
75
84
sudo : false
76
- install : |
77
- Pod::Text
78
85
- run : perl Makefile.PL
79
86
- run : make
80
87
- run : make test
88
+ - run : " rm -f $(which pod2usage) ||:"
89
+ - run : make install
90
+ - run : which pod2usage
91
+
92
+ # ------------------------------------------------------------------------
93
+
94
+ windows :
95
+ needs : [ubuntu]
96
+ env :
97
+ PERL_USE_UNSAFE_INC : 0
98
+ AUTHOR_TESTING : 0
99
+ AUTOMATED_TESTING : 1
100
+ RELEASE_TESTING : 0
101
+
102
+ runs-on : windows-latest
103
+
104
+ strategy :
105
+ fail-fast : false
106
+ matrix :
107
+ perl-version : [latest]
108
+
109
+ steps :
110
+ - uses : actions/checkout@master
111
+ - name : Set up Perl
112
+ run : |
113
+ choco install strawberryperl
114
+ echo "##[add-path]C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin"
115
+ - name : perl -V
116
+ run : perl -V
117
+ - name : Install dependencies
118
+ uses : perl-actions/install-with-cpm@v1
119
+ with :
120
+ cpanfile : " cpanfile"
121
+ sudo : false
122
+ - run : prove -vl t/*.t
0 commit comments