File tree Expand file tree Collapse file tree 2 files changed +19
-15
lines changed
Expand file tree Collapse file tree 2 files changed +19
-15
lines changed Original file line number Diff line number Diff line change 3535 fail-fast : false
3636 matrix :
3737 include :
38- -
39- image : alpine:3.15
40- typ : alpine
41- allow-failure : false
4238 -
4339 image : alpine:3.16
4440 typ : alpine
@@ -56,12 +52,12 @@ jobs:
5652 typ : alpine
5753 allow-failure : false
5854 -
59- image : alpine:edge
55+ image : alpine:3.20
6056 typ : alpine
61- allow-failure : true
57+ allow-failure : false
6258 -
63- image : debian:buster-backports
64- typ : debian
59+ image : alpine:edge
60+ typ : alpine
6561 allow-failure : true
6662 -
6763 image : debian:bullseye-backports
@@ -104,15 +100,19 @@ jobs:
104100 typ : rhel
105101 allow-failure : false
106102 -
107- image : fedora:37
103+ image : fedora:38
108104 typ : rhel
109105 allow-failure : false
110106 -
111- image : fedora:38
107+ image : fedora:39
112108 typ : rhel
113109 allow-failure : false
114110 -
115- image : fedora:39
111+ image : fedora:40
112+ typ : rhel
113+ allow-failure : false
114+ -
115+ image : fedora:41
116116 typ : rhel
117117 allow-failure : false
118118 -
Original file line number Diff line number Diff line change @@ -46,10 +46,10 @@ setup() {
4646
4747 cp /etc/apk/repositories " $apk_dir /"
4848
49- # riscv only supported in edge atm
50- if [ " $TARGETARCH " = " riscv64" ]; then
51- echo " https://dl-cdn.alpinelinux.org/alpine/edge /main" > " $apk_dir /repositories"
52- echo " https://dl-cdn.alpinelinux.org/alpine/edge /community" >> " $apk_dir /repositories"
49+ # riscv supported since alpine 3.20
50+ if [ " $TARGETARCH " = " riscv64" ] && ! supportRiscV ; then
51+ echo " https://dl-cdn.alpinelinux.org/alpine/v3.20 /main" > " $apk_dir /repositories"
52+ echo " https://dl-cdn.alpinelinux.org/alpine/v3.20 /community" >> " $apk_dir /repositories"
5353 fi
5454 mkdir " $apk_dir /keys"
5555 mkdir " $apk_dir /protected_paths.d"
@@ -132,6 +132,10 @@ cmd() {
132132 fi
133133}
134134
135+ supportRiscV () {
136+ versionGTE " $( xx-info os-version | cut -d' .' -f1-2) " " 3.20"
137+ }
138+
135139case " $1 " in
136140 " setup" )
137141 setup
You can’t perform that action at this time.
0 commit comments