Skip to content

Commit cda6a6b

Browse files
committed
[GITHUB] Update build-toolchain to use public VC6 from itsmattkc repo
1 parent 15a53d5 commit cda6a6b

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/build-toolchain.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,30 +52,28 @@ jobs:
5252
restore-keys: |
5353
cmake-deps-${{ inputs.preset }}-
5454
55-
- name: Download VC6 Portable from Cloudflare R2
55+
- name: Download VC6 Portable from itsmattkc repo
5656
if: ${{ startsWith(inputs.preset, 'vc6') && steps.cache-vc6.outputs.cache-hit != 'true' }}
5757
env:
58-
AWS_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
59-
AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}
60-
AWS_ENDPOINT_URL: ${{ secrets.R2_ENDPOINT_URL }}
61-
EXPECTED_HASH: "118D0F1ACBBD70C3F8B081CA4DBAF955FE0C6C359A76636E930AA89FDC551091"
58+
EXPECTED_HASH: "5FA2FB0FE61FD0E0FE08DC2C77EA33DF9947A39ED13670DD14B30DA5997F9315"
6259
shell: pwsh
6360
run: |
6461
Write-Host "Downloading VC6 Portable Installation" -ForegroundColor Cyan
65-
aws s3 cp s3://github-ci/VS6_VisualStudio6.7z VS6_VisualStudio6.7z --endpoint-url $env:AWS_ENDPOINT_URL
62+
Invoke-WebRequest -Uri https://github.com/itsmattkc/MSVC600/archive/refs/heads/master.zip -OutFile VS6_VisualStudio6.zip
6663
6764
Write-Host "Verifying File Integrity" -ForegroundColor Cyan
68-
$fileHash = (Get-FileHash -Path VS6_VisualStudio6.7z -Algorithm SHA256).Hash
65+
$fileHash = (Get-FileHash -Path VS6_VisualStudio6.zip -Algorithm SHA256).Hash
6966
Write-Host "Downloaded file SHA256: $fileHash"
7067
Write-Host "Expected file SHA256: $env:EXPECTED_HASH"
71-
if ($hash -ne $env:EXPECTED_HASH) {
68+
if ($fileHash -ne $env:EXPECTED_HASH) {
7269
Write-Error "Hash verification failed! File may be corrupted or tampered with."
7370
exit 1
7471
}
7572
7673
Write-Host "Extracting Archive" -ForegroundColor Cyan
77-
& 7z x VS6_VisualStudio6.7z -oC:\VC6
78-
Remove-Item VS6_VisualStudio6.7z -Verbose
74+
& Expand-Archive -Path VS6_VisualStudio6.zip -DestinationPath C:\VC6
75+
Move-Item -Path C:\VC6\MSVC600-master -Destination C:\VC6\VC6SP6
76+
Remove-Item VS6_VisualStudio6.zip -Verbose
7977
8078
- name: Set Up VC6 Environment
8179
if: startsWith(inputs.preset, 'vc6')

0 commit comments

Comments
 (0)