@@ -14,20 +14,29 @@ jobs:
14
14
fail-fast : false
15
15
matrix :
16
16
container_image :
17
- - quay.io/centos/centos:stream8
18
17
- quay.io/centos/centos:stream9
19
- - registry.fedoraproject.org/fedora:37
20
- - registry.fedoraproject.org/fedora:38
18
+ - quay.io/centos/centos:stream10-development
21
19
- registry.fedoraproject.org/fedora:39
20
+ - registry.fedoraproject.org/fedora:40
22
21
- registry.fedoraproject.org/fedora:rawhide
23
22
- registry.access.redhat.com/ubi8
24
23
- registry.access.redhat.com/ubi9
25
24
dotnet_version :
26
25
- " 6.0"
27
- - " 7.0"
26
+ - " 8.0"
27
+ exclude :
28
+ - container_image : registry.fedoraproject.org/fedora:rawhide
29
+ dotnet_version : " 6.0"
30
+ - container_image : quay.io/centos/centos:stream10-development
31
+ dotnet_version : " 6.0"
28
32
include :
29
- - container_image : quay.io/centos/centos:stream9
30
- dotnet_version : " 8.0"
33
+ - container_image : registry.fedoraproject.org/fedora:40
34
+ dotnet_version : " 9.0"
35
+ - container_image : registry.fedoraproject.org/fedora:rawhide
36
+ dotnet_version : " 9.0"
37
+ - container_image : quay.io/centos/centos:stream10-development
38
+ dotnet_version : " 9.0"
39
+
31
40
32
41
container :
33
42
image : ${{ matrix.container_image }}
@@ -38,13 +47,22 @@ jobs:
38
47
timeout-minutes : 5
39
48
run : |
40
49
set -euo pipefail
41
- if command -v dnf; then
42
- dnf install -y dotnet-sdk-${{ matrix.dotnet_version }} git make
43
- elif command -v apk; then
44
- apk add bash curl git icu-libs krb5-libs libgcc libintl libssl1.1 libstdc++ make zlib
45
- curl -sSLO https://dot.net/v1/dotnet-install.sh
46
- chmod +x ./dotnet-install.sh
47
- ./dotnet-install.sh --channel ${{ matrix.dotnet_version }}
50
+ if [[ ${{ matrix.dotnet_version }} == 9.* ]]; then
51
+ dnf install 'dnf-command(copr)' -y
52
+ cat /etc/os-release
53
+ if grep centos /etc/os-release ; then
54
+ dnf copr enable @dotnet-sig/dotnet-preview centos-stream-10-x86_64 -y
55
+ else
56
+ dnf copr enable @dotnet-sig/dotnet-preview -y
57
+ fi
58
+ dnf install -y dotnet-sdk-aot-${{ matrix.dotnet_version }}
59
+ fi
60
+ dnf install -y dotnet-sdk-${{ matrix.dotnet_version }} git make
61
+ if [[ ! ${{ matrix.dotnet_version }} == *6* ]]; then
62
+ dnf install -y \
63
+ dotnet-sdk-dbg-${{ matrix.dotnet_version }} \
64
+ dotnet-runtime-dbg-${{ matrix.dotnet_version }} \
65
+ aspnetcore-runtime-dbg-${{ matrix.dotnet_version }}
48
66
fi
49
67
50
68
- uses : actions/checkout@v2
@@ -80,20 +98,26 @@ jobs:
80
98
fail-fast : false
81
99
matrix :
82
100
container_image :
83
- - quay.io/centos/centos:stream8
84
101
- quay.io/centos/centos:stream9
85
- - registry.fedoraproject.org/fedora:37
102
+ - quay.io/centos/centos:stream10-development
86
103
- registry.fedoraproject.org/fedora:38
87
104
- registry.fedoraproject.org/fedora:39
105
+ - registry.fedoraproject.org/fedora:40
88
106
- registry.fedoraproject.org/fedora:rawhide
89
107
- registry.access.redhat.com/ubi8
90
108
- registry.access.redhat.com/ubi9
91
109
dotnet_version :
92
110
- " 6.0"
93
- - " 7.0"
111
+ - " 8.0"
112
+ exclude :
113
+ - container_image : registry.fedoraproject.org/fedora:rawhide
114
+ - container_image : quay.io/centos/centos:stream10-development
115
+ dotnet_version : " 6.0"
94
116
include :
95
- - container_image : quay.io/centos/centos:stream9
96
- dotnet_version : " 8.0"
117
+ - container_image : registry.fedoraproject.org/fedora:40
118
+ - container_image : registry.fedoraproject.org/fedora:rawhide
119
+ - container_image : quay.io/centos/centos:stream10-development
120
+ dotnet_version : " 9.0"
97
121
98
122
99
123
container :
@@ -105,7 +129,23 @@ jobs:
105
129
timeout-minutes : 5
106
130
run : |
107
131
set -euo pipefail
132
+ if [[ ${{ matrix.dotnet_version }} == 9.* ]]; then
133
+ dnf install 'dnf-command(copr)' -y
134
+ cat /etc/os-release
135
+ if grep centos /etc/os-release ; then
136
+ dnf copr enable @dotnet-sig/dotnet-preview centos-stream-10-x86_64 -y
137
+ else
138
+ dnf copr enable @dotnet-sig/dotnet-preview -y
139
+ fi
140
+ dnf install -y dotnet-sdk-aot-${{ matrix.dotnet_version }}
141
+ fi
108
142
dnf install -y dotnet-sdk-${{ matrix.dotnet_version }} git make
143
+ if [[ ! ${{ matrix.dotnet_version }} == *6* ]]; then
144
+ dnf install -y \
145
+ dotnet-sdk-dbg-${{ matrix.dotnet_version }} \
146
+ dotnet-runtime-dbg-${{ matrix.dotnet_version }} \
147
+ aspnetcore-runtime-dbg-${{ matrix.dotnet_version }}
148
+ fi
109
149
110
150
# We need to fetch the tags, so 'git tag' in 'make publish' below works
111
151
- uses : actions/checkout@v2
@@ -127,9 +167,7 @@ jobs:
127
167
- name : Install Test dependencies
128
168
timeout-minutes : 2
129
169
run : |
130
- dnf install -y python3 wget \
131
- $(grep '^Dependencies(dnf): ' dotnet-regular-tests/README.md | cut -d: -f2-) \
132
- --skip-broken
170
+ dnf install -y python3 wget $(grep '^Dependencies(dnf): ' README.md | cut -d: -f2-) --skip-broken
133
171
134
172
- name : Run reproducers
135
173
run : |
0 commit comments