Skip to content

Commit 663e2f6

Browse files
authored
Update build pipelines for recent changes to windows-2022 ADO images (#168)
1 parent 22e6d74 commit 663e2f6

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

build/DirectXMath-GitHub-MinGW.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ variables:
4949
GITHUB_PAT: $(GITHUBPUBLICTOKEN)
5050
URL_MINGW32: https://github.com/brechtsanders/winlibs_mingw/releases/download/12.2.0-14.0.6-10.0.0-ucrt-r2/winlibs-i686-posix-dwarf-gcc-12.2.0-llvm-14.0.6-mingw-w64ucrt-10.0.0-r2.zip
5151
HASH_MINGW32: 'fcd1e11b896190da01c83d5b5fb0d37b7c61585e53446c2dab0009debc3915e757213882c35e35396329338de6f0222ba012e23a5af86932db45186a225d1272'
52-
URL_MINGW64: https://github.com/brechtsanders/winlibs_mingw/releases/download/12.2.0-14.0.6-10.0.0-ucrt-r2/winlibs-x86_64-posix-seh-gcc-12.2.0-llvm-14.0.6-mingw-w64ucrt-10.0.0-r2.zip
53-
HASH_MINGW64: '6694e552d73195b57f283645ab78cb0180f4d957b5501a83e6b4f2679dfad13a8e85e1df6f7b061ea4431fbd2bb0c8f2ac3a1dd810489c1a8d1665b226df8092'
5452

5553
jobs:
5654
- job: MINGW32_BUILD
@@ -65,7 +63,6 @@ jobs:
6563
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
6664
workingDirectory: $(Build.SourcesDirectory)
6765
- task: PowerShell@2
68-
# We install GCC 12.2 as the MS Hosted only offers 11.2
6966
displayName: Install MinGW32
7067
inputs:
7168
targetType: inline
@@ -132,28 +129,6 @@ jobs:
132129
displayName: Fetch Tests
133130
inputs:
134131
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
135-
workingDirectory: $(Build.SourcesDirectory)
136-
- task: PowerShell@2
137-
displayName: Install MinGW-W64
138-
inputs:
139-
targetType: inline
140-
script: |
141-
$ProgressPreference = 'SilentlyContinue'
142-
Write-Host "Downloading winlibs..."
143-
Invoke-WebRequest -Uri "$(URL_MINGW64)" -OutFile "gw64.zip"
144-
Write-Host "Downloaded."
145-
$fileHash = Get-FileHash -Algorithm SHA512 gw64.zip | ForEach { $_.Hash} | Out-String
146-
$filehash = $fileHash.Trim()
147-
Write-Host "##[debug]SHA512: " $fileHash
148-
if ($fileHash -ne '$(HASH_MINGW64)') {
149-
Write-Error -Message "##[error]Computed hash does not match!" -ErrorAction Stop
150-
}
151-
Write-Host "Extracting winlibs..."
152-
Expand-Archive -LiteralPath 'gw64.zip'
153-
Write-Host "Extracted."
154-
Write-Host "Added to path: $env:BUILD_SOURCESDIRECTORY\gw64\mingw64\bin"
155-
Write-Host "##vso[task.prependpath]$env:BUILD_SOURCESDIRECTORY\gw64\mingw64\bin"
156-
157132
workingDirectory: $(Build.SourcesDirectory)
158133
- task: CmdLine@2
159134
displayName: GCC version

0 commit comments

Comments
 (0)