-
Notifications
You must be signed in to change notification settings - Fork 1
83 lines (77 loc) · 2.44 KB
/
Copy pathlinux.yml
File metadata and controls
83 lines (77 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: linux
on:
push:
branches:
- '*'
# tags-ignore:
# - '*'
workflow_dispatch:
# pull_request:
jobs:
perl:
env:
# some plugins still needs this to run their tests...
PERL_USE_UNSAFE_INC: 0
AUTHOR_TESTING: 1
AUTOMATED_TESTING: 1
RELEASE_TESTING: 1
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
perl-version:
- 'latest'
- '5.40'
- '5.34'
- '5.28'
- '5.20'
# - '5.18' No dzil
# - '5.16' No dzil
# - '5.14' No dzil
# - '5.10' No dzil
container:
image: perldocker/perl-tester:${{ matrix.perl-version }}
# https://hub.docker.com/r/perldocker/perl-tester
# https://github.com/Perl/docker-perl-tester
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v4
- id: explore-tools-perl
name: perl -V
run: perl -V
- id: explore-environment
name: Explore Environment
run: |
env
# - name: Install Dependencies
# #run: cpm install -g --no-test --show-build-log-on-failure --cpanfile cpanfile
# run: cpm install -g --no-test --show-build-log-on-failure --cpanfile cpanfile
# - name: Makefile.PL
# run: perl Makefile.PL
- id: list-dzil-authordeps-with-verbosity
name: List Dist::Zilla Author Dependencies With Verbosity
run: |
dzil --verbose authordeps --cpanm-versions
- id: install-dzil-authordeps
name: Install Dist::Zilla Author Dependencies
run: |
dzil --verbose authordeps --cpanm-versions \
| cpanm --verbose --force --notest
- id: list-deps-with-verbosity
name: List Dependencies With Verbosity
run: |
dzil --verbose listdeps --requires --develop recommends --suggests --cpanm-version --omit-core ${{ matrix.perl-version }}
- id: install-dzil-deps
name: Install Dependencies
run: |
dzil listdeps --requires --develop recommends --suggests --cpanm-version --omit-core ${{ matrix.perl-version }} \
| cpanm --verbose --force --notest || true
# - id: build-project-and-explore
# name: Build Project And Explore
# run: |
# dzil --verbose build \
# && tree -af -I '\.git'
- id: run-test-suite
name: Run Tests
run: dzil --verbose test --all --test-verbose