Skip to content

Commit e8ebc0b

Browse files
committed
Switch distro to use Dist::Zilla
1 parent bdc9064 commit e8ebc0b

File tree

15 files changed

+1432
-221
lines changed

15 files changed

+1432
-221
lines changed

.github/workflows/testsuite.yml

Lines changed: 49 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,22 @@ jobs:
2222
- uses: actions/checkout@v2
2323
- name: perl -V
2424
run: perl -V
25-
- name: install dependencies
25+
- name: Install dependencies
2626
uses: perl-actions/install-with-cpm@v1
2727
with:
28-
install: |
29-
Pod::Text
28+
cpanfile: "cpanfile"
3029
- run: perl Makefile.PL
3130
- run: make
3231
- 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+
# ------------------------------------------------------------------------
3341

3442
linux:
3543
name: "linux ${{ matrix.perl-version }}"
@@ -63,18 +71,52 @@ jobs:
6371
]
6472

6573
container:
66-
image: perl:${{ matrix.perl-version }}
74+
image: perldocker/perl-tester:${{ matrix.perl-version }}
6775

6876
steps:
6977
- uses: actions/checkout@v2
7078
- name: perl -V
7179
run: perl -V
72-
- name: install dependencies
80+
- name: Install dependencies
7381
uses: perl-actions/install-with-cpm@v1
7482
with:
83+
cpanfile: "cpanfile"
7584
sudo: false
76-
install: |
77-
Pod::Text
7885
- run: perl Makefile.PL
7986
- run: make
8087
- 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

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.DS_Store
2+
*.o
3+
*.tar.gz
4+
*.old
5+
/Makefile
6+
/blib/
7+
/pm_to_blib
8+
MYMETA.json
9+
MYMETA.yml
10+
/.build/
11+
/Pod-Usage-*

CHANGES renamed to Changes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{{NEXT}}
2+
13
1.70 (marekr)
24
- CPAN#115847: pod2usage exits with error when using "-verbose 3" with STDIN
35
Addressed in pod2usage script, and updated POD

0 commit comments

Comments
 (0)