File tree 1 file changed +19
-3
lines changed
1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change 13
13
base-image :
14
14
- ubuntu:focal
15
15
- ubuntu:jammy
16
- - amazonlinux:2
17
16
- redhat/ubi9:latest
18
17
test-args :
19
18
- ' {}'
@@ -23,11 +22,28 @@ jobs:
23
22
container : ${{ matrix.base-image }}
24
23
steps :
25
24
- name : Checkout self
26
- if : ${{ !startsWith(matrix.base-image, 'amazonlinux') }}
27
25
uses : actions/checkout@v4
26
+ - name : Test
27
+ uses : vapor/swiftly-action@main
28
+ with : ${{ fromJSON(matrix.test-args) }}
29
+ test-amznlinux2 :
30
+ strategy :
31
+ fail-fast : false
32
+ matrix :
33
+ base-image :
34
+ - amazonlinux:2
35
+ test-args :
36
+ - ' {}'
37
+ - ' {"toolchain":"latest"}'
38
+ - ' {"toolchain":"5.9"}'
39
+ runs-on : ubuntu-latest
40
+ container : ${{ matrix.base-image }}
41
+ steps :
42
+ - name : Add missing dependencies
43
+ run : yum install -y git tar
28
44
- name : Checkout self
29
- if : ${{ startsWith(matrix.base-image, 'amazonlinux') }}
30
45
uses : actions/checkout@v3
31
46
- name : Test
32
47
uses : vapor/swiftly-action@main
33
48
with : ${{ fromJSON(matrix.test-args) }}
49
+
You can’t perform that action at this time.
0 commit comments