File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ jobs:
239239
240240 windows :
241241 runs-on : windows-2022
242- needs : [ stage2 ]
242+ # needs: [ stage2 ]
243243 strategy :
244244 fail-fast : false
245245 matrix :
@@ -263,10 +263,24 @@ jobs:
263263 if : ${{ matrix.mingw != true }}
264264 run : |
265265 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
266281 - name : Install llvm-mingw
267282 if : ${{ matrix.mingw == true }}
268283 run : |
269- curl -LO https://github.com/mstorsjo/llvm-mingw/releases/download/20250114/llvm-mingw-20250114-ucrt-x86_64.zip
270284 powershell Expand-Archive llvm-mingw*.zip -DestinationPath .
271285 del llvm-mingw*.zip
272286 mv llvm-mingw* c:\llvm-mingw
You can’t perform that action at this time.
0 commit comments