Commit 79fcd26
authored
ci: improve reliability (#232)
Background: as the default `ubuntu-latest` runner [has
upgraded](actions/runner-images@976232d)
to `ubuntu-24.04`, we need to ensure compatibility with older OS
versions if we release the binary on a new runner as the dotnet building
process depends on OS libraries (for example, `GLIBC`).
CI:
- Unit test pipeline
- added unit test on Linux arm64 and windows x64.
- E2E pipeline
- built `linux-x64` binary on `ubuntu-24.04` and tested on
`ubuntu-22.04`, `ubuntu-24.04` and
`mcr.microsoft.com/cbl-mariner/base/core:2.0` container.
- built `linux-arm64` binary on `ubuntu-24.04-arm` and tested on
`ubuntu-24.04-arm`, `ubuntu-22.04-arm`.
- built `windows-x64` binary on `windows-2022` and tested on
`windows-2022` and `windows-2025` (GA).
- release pipeline
- updated release pipeline to use `ubuntu 24.04` for Linux and macOS
binaries and `windows-2022` for Windows binary.
- removed ARM emulator from release pipeline and replaced with
`ubuntu-24.04-arm` runner.
Test:
- fixed unit test on windows to avoid line ending symbol issue
- tested new release pipeline in forked repo
Note: win-x64 build generates a warning which is discussed here:
dotnet/runtime#109958. It should be fixed in
the future dotnet release.
---------
Signed-off-by: Junjie Gao <[email protected]>1 parent b57e76f commit 79fcd26
File tree
3 files changed
+91
-40
lines changed- .github/workflows
- Notation.Plugin.AzureKeyVault.Tests
3 files changed
+91
-40
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 44 | | |
58 | 45 | | |
59 | 46 | | |
| |||
91 | 78 | | |
92 | 79 | | |
93 | 80 | | |
94 | | - | |
| 81 | + | |
95 | 82 | | |
96 | 83 | | |
97 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
85 | 137 | | |
86 | 138 | | |
87 | 139 | | |
88 | 140 | | |
89 | | - | |
| 141 | + | |
90 | 142 | | |
91 | 143 | | |
92 | 144 | | |
| |||
128 | 180 | | |
129 | 181 | | |
130 | 182 | | |
131 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
132 | 195 | | |
133 | | - | |
| 196 | + | |
134 | 197 | | |
135 | 198 | | |
136 | 199 | | |
137 | 200 | | |
138 | 201 | | |
139 | 202 | | |
140 | 203 | | |
141 | | - | |
| 204 | + | |
142 | 205 | | |
143 | 206 | | |
144 | 207 | | |
145 | 208 | | |
146 | 209 | | |
147 | 210 | | |
148 | | - | |
| 211 | + | |
149 | 212 | | |
150 | 213 | | |
151 | 214 | | |
| |||
168 | 231 | | |
169 | 232 | | |
170 | 233 | | |
171 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
172 | 238 | | |
173 | | - | |
| 239 | + | |
174 | 240 | | |
175 | 241 | | |
176 | 242 | | |
177 | 243 | | |
178 | 244 | | |
179 | | - | |
180 | | - | |
| 245 | + | |
181 | 246 | | |
182 | | - | |
183 | | - | |
184 | | - | |
| 247 | + | |
| 248 | + | |
185 | 249 | | |
186 | 250 | | |
187 | 251 | | |
| |||
215 | 279 | | |
216 | 280 | | |
217 | 281 | | |
218 | | - | |
| 282 | + | |
219 | 283 | | |
220 | 284 | | |
221 | 285 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments