File tree 1 file changed +15
-1
lines changed
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -263,10 +263,24 @@ jobs:
263
263
if : ${{ matrix.mingw != true }}
264
264
run : |
265
265
choco install -y llvm --version=19.1.7 --allow-downgrade
266
+ - name : Download test llvm-mingw
267
+ if : ${{ matrix.mingw == true }}
268
+ shell : bash
269
+ run : |
270
+ ARTIFACT_URL=https://github.com/jeremyd2019/llvm-mingw/actions/runs/15080594305/artifacts/3143907630
271
+ case "$ARTIFACT_URL" in
272
+ https://github.com/*/actions/runs/[0-9]*/artifacts/[0-9]*)
273
+ ARTIFACT_URL="$(echo "$ARTIFACT_URL" |
274
+ sed 's|^\(https://\)\(github.com/\)\(.*/actions/\)runs/[0-9]*/\(artifacts/[0-9]*\)$|\1api.\2repos/\3\4/zip|')"
275
+ ;;
276
+ esac
277
+ curl -H "Authorization: token ${{secrets.GITHUB_TOKEN}}" \
278
+ -fLo artifact.zip "$ARTIFACT_URL"
279
+ powershell Expand-Archive artifact.zip -DestinationPath .
280
+ rm -f artifact.zip
266
281
- name : Install llvm-mingw
267
282
if : ${{ matrix.mingw == true }}
268
283
run : |
269
- curl -LO https://github.com/mstorsjo/llvm-mingw/releases/download/20250114/llvm-mingw-20250114-ucrt-x86_64.zip
270
284
powershell Expand-Archive llvm-mingw*.zip -DestinationPath .
271
285
del llvm-mingw*.zip
272
286
mv llvm-mingw* c:\llvm-mingw
You can’t perform that action at this time.
0 commit comments