-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (42 loc) · 1.25 KB
/
ci.yml
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
name: ✅ CI
on:
push:
branches: ['**']
pull_request:
schedule:
- cron: '0 10 3 * *' # Monthly at 10am on the third
jobs:
test:
strategy:
matrix:
os:
- { icon: 🐧, name: ubuntu }
- { icon: 🍎, name: macos }
- { icon: 🪟, name: windows }
perl: [ '5.40', '5.38', '5.36', '5.34', '5.32', '5.30', '5.28', '5.26', '5.24', '5.22', '5.20', '5.18', '5.16', '5.14', '5.12', '5.10' ]
name: 🐪 Perl ${{ matrix.perl }} on ${{ matrix.os.icon }}
runs-on: ${{ matrix.os.name }}-latest
steps:
- uses: actions/checkout@v4
- name: Setup Perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- name: Install Dependencies
run: |
cpanm -v --notest --no-man-pages Module::Build
cpanm -v --notest --no-man-pages --installdeps --with-develop .
- name: Test
env:
AUTHOR_TESTING: 1
RELEASE_TESTING: 1
run: prove -lv
# Make sure we can build the distribution bundle.
- name: Test Distro
if: runner.os == 'Linux'
run: |
prove -l xt
perl Build.PL
./Build
./Build manifest
./Build disttest