Codebase list libexception-class-dbi-perl / 0c9d3f7
Add CI Graham Ollis authored 2 years ago Graham✈️✈️ committed 2 years ago
2 changed file(s) with 81 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
0 name: linux
1
2 on:
3 push:
4 branches:
5 - '*'
6 tags-ignore:
7 - '*'
8 pull_request:
9
10 jobs:
11 perl:
12
13 runs-on: ubuntu-latest
14
15 strategy:
16 fail-fast: false
17 matrix:
18 cip_tag:
19 - "5.33"
20 - "5.32"
21 - "5.30"
22 - "5.28"
23 - "5.26"
24 - "5.24"
25 - "5.22"
26 - "5.20"
27 # - "5.18"
28 # - "5.16"
29 - "5.14"
30 - "5.12"
31 - "5.10"
32 - "5.8"
33
34 env:
35 CIP_TAG: ${{ matrix.cip_tag }}
36
37 steps:
38 - uses: actions/checkout@v2
39
40 - name: Bootstrap CIP
41 run: |
42 curl -L https://raw.githubusercontent.com/uperl/cip/main/bin/github-bootstrap | bash
43
44 - name: Cache-Key
45 id: cache-key
46 run: |
47 echo -n '::set-output name=key::'
48 cip cache-key
49
50 - name: Cache CPAN modules
51 uses: actions/cache@v2
52 with:
53 path: ~/.cip
54 key: ${{ runner.os }}-build-${{ steps.cache-key.outputs.key }}
55 restore-keys: |
56 ${{ runner.os }}-build-${{ steps.cache-key.outputs.key }}
57
58 - name: Start-Container
59 run: |
60 cip start
61
62 - name: Diagnostics
63 run: |
64 cip diag
65
66 - name: Install-Dependencies
67 run: |
68 cip install
69
70 - name: Build + Test
71 run: |
72 cip script
73
74 - name: CPAN log
75 if: ${{ failure() }}
76 run: |
77 cip exec bash -c 'cat $HOME/.cpanm/latest-build/build.log'
3131 'meta-spec' => { version => 2 },
3232 resources => {
3333 bugtracker => {
34 web => 'https://github.com/plicease/Exception-Class-DBI/issues',
34 web => 'https://github.com/uperl/Exception-Class-DBI/issues',
3535 },
3636 homepage => 'https://metacpan.org/pod/Exception-Class-DBI',
3737 repository => {
3838 type => 'git',
39 url => 'https://github.com/plicease/Exception-Class-DBI.git',
40 web => 'https://github.com/plicease/Exception-Class-DBI',
39 url => 'https://github.com/uperl/Exception-Class-DBI.git',
40 web => 'https://github.com/uperl/Exception-Class-DBI',
4141 },
4242 }
4343 },