Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TO-DROP: ci: test various patch levels of the MSYS2 runtime
Browse files Browse the repository at this point in the history
These correspond to the individual commits of the
`git-for-windows-pathconv-adjustments` branch of
https://github.com/dscho/Cygwin-msys2-fork.

Signed-off-by: Johannes Schindelin <[email protected]>
dscho committed Dec 2, 2023

Verified

This commit was signed with the committer’s verified signature.
Nothing4You Richard Schwab
1 parent 946c457 commit b3bc29b
Showing 1 changed file with 29 additions and 4 deletions.
33 changes: 29 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -53,7 +53,26 @@ jobs:
strategy:
fail-fast: false
matrix:
nr: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
- nr: 1
run: 7072653564
- nr: 2
run: 7072653731
- nr: 3
run: 7072653988
- nr: 4
run: 7072654240
- nr: 5
run: 7072654509
- nr: 6
run: 7072654736
- nr: 7
run: 7072654943
- nr: 8
run: 7072654990
- nr: 9
run: 7072655045
- nr: 10
run: 7072655115
concurrency:
group: windows-test-${{ matrix.nr }}-${{ github.ref }}
steps:
@@ -69,9 +88,15 @@ jobs:
- name: replace the MSYS2 runtime
shell: powershell
run: |
Invoke-WebRequest -Headers @{ Authorization = "token ${{ secrets.GITHUB_TOKEN }}" } "https://api.github.com/repos/msys2/msys2-runtime/actions/artifacts/1082027388/zip" -outfile "a1.zip"
Expand-Archive -Force -DestinationPath D:/git-sdk-64-minimal a1.zip
Remove-Item a1.zip
$headers = @{ Authorization = "token '${{ secrets.GITHUB_TOKEN }}'" }
$run_url = "https://api.github.com/repos/dscho/Cygwin-msys2-fork/actions/runs/${{ matrix.run }}/artifacts"
$run = ((Invoke-WebRequest -Headers $headers $run_url).content | ConvertFrom-JSON)
$zip_url = $run.artifacts.archive_download_url
Invoke-WebRequest -Headers $headers $zip_url -outfile "install.zip"
Expand-Archive -Force -DestinationPath D:/git-sdk-64-minimal install.zip
Remove-Item install.zip
- name: test
shell: bash
timeout-minutes: 12

0 comments on commit b3bc29b

Please sign in to comment.