@@ -15,29 +15,16 @@ jobs:
15
15
matrix :
16
16
container_image :
17
17
- quay.io/centos/centos:stream9
18
- - quay.io/centos/centos:stream10-development
19
- - registry.fedoraproject.org/fedora:39
18
+ - quay.io/centos/centos:stream10
20
19
- registry.fedoraproject.org/fedora:40
20
+ - registry.fedoraproject.org/fedora:41
21
21
- registry.fedoraproject.org/fedora:rawhide
22
22
- registry.access.redhat.com/ubi8
23
23
- registry.access.redhat.com/ubi9
24
24
dotnet_version :
25
- - " 6.0"
26
25
- " 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"
32
- include :
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"
26
+ - " 9.0"
39
27
40
-
41
28
container :
42
29
image : ${{ matrix.container_image }}
43
30
options : --security-opt seccomp=unconfined
@@ -47,22 +34,13 @@ jobs:
47
34
timeout-minutes : 5
48
35
run : |
49
36
set -euo pipefail
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
37
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 }}
38
+ dnf install -y \
39
+ dotnet-sdk-dbg-${{ matrix.dotnet_version }} \
40
+ dotnet-runtime-dbg-${{ matrix.dotnet_version }} \
41
+ aspnetcore-runtime-dbg-${{ matrix.dotnet_version }}
42
+ if [ ${{ matrix.dotnet_version }} >= 9.* ]; then
43
+ dnf install -y dotnet-sdk-aot-${{ matrix.dotnet_version }}
66
44
fi
67
45
68
46
- uses : actions/checkout@v2
@@ -99,28 +77,15 @@ jobs:
99
77
matrix :
100
78
container_image :
101
79
- quay.io/centos/centos:stream9
102
- - quay.io/centos/centos:stream10-development
103
- - registry.fedoraproject.org/fedora:39
80
+ - quay.io/centos/centos:stream10
104
81
- registry.fedoraproject.org/fedora:40
82
+ - registry.fedoraproject.org/fedora:41
105
83
- registry.fedoraproject.org/fedora:rawhide
106
84
- registry.access.redhat.com/ubi8
107
85
- registry.access.redhat.com/ubi9
108
86
dotnet_version :
109
- - " 6.0"
110
87
- " 8.0"
111
- exclude :
112
- - container_image : registry.fedoraproject.org/fedora:rawhide
113
- dotnet_version : " 6.0"
114
- - container_image : quay.io/centos/centos:stream10-development
115
- dotnet_version : " 6.0"
116
- include :
117
- - container_image : registry.fedoraproject.org/fedora:40
118
- dotnet_version : " 9.0"
119
- - container_image : registry.fedoraproject.org/fedora:rawhide
120
- dotnet_version : " 9.0"
121
- - container_image : quay.io/centos/centos:stream10-development
122
- dotnet_version : " 9.0"
123
-
88
+ - " 9.0"
124
89
125
90
container :
126
91
image : ${{ matrix.container_image }}
@@ -131,22 +96,13 @@ jobs:
131
96
timeout-minutes : 5
132
97
run : |
133
98
set -euo pipefail
134
- if [[ ${{ matrix.dotnet_version }} == 9.* ]]; then
135
- dnf install 'dnf-command(copr)' -y
136
- cat /etc/os-release
137
- if grep centos /etc/os-release ; then
138
- dnf copr enable @dotnet-sig/dotnet-preview centos-stream-10-x86_64 -y
139
- else
140
- dnf copr enable @dotnet-sig/dotnet-preview -y
141
- fi
142
- dnf install -y dotnet-sdk-aot-${{ matrix.dotnet_version }}
143
- fi
144
99
dnf install -y dotnet-sdk-${{ matrix.dotnet_version }} git make
145
- if [[ ! ${{ matrix.dotnet_version }} == *6* ]]; then
146
- dnf install -y \
147
- dotnet-sdk-dbg-${{ matrix.dotnet_version }} \
148
- dotnet-runtime-dbg-${{ matrix.dotnet_version }} \
149
- aspnetcore-runtime-dbg-${{ matrix.dotnet_version }}
100
+ dnf install -y \
101
+ dotnet-sdk-dbg-${{ matrix.dotnet_version }} \
102
+ dotnet-runtime-dbg-${{ matrix.dotnet_version }} \
103
+ aspnetcore-runtime-dbg-${{ matrix.dotnet_version }}
104
+ if [ ${{ matrix.dotnet_version }} >= 9.* ]; then
105
+ dnf install -y dotnet-sdk-aot-${{ matrix.dotnet_version }}
150
106
fi
151
107
152
108
# We need to fetch the tags, so 'git tag' in 'make publish' below works
0 commit comments