This commit is contained in:
Chuck Walbourn 2022-12-03 18:51:04 -08:00
Родитель 00edf0444b
Коммит d3a4aeb0aa
2 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -18,7 +18,7 @@ pool:
variables:
GITHUB_PAT: $(GITHUBPUBLICTOKEN)
DESTDIR: $(DESTDIR)
DEST_DIR: $(DESTDIR)
jobs:
- job: BUILD_SIMPLEMATH
@ -79,8 +79,8 @@ jobs:
targetType: inline
script: |
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -o $(DESTDIR)usr/local/include/sal.h
$fileHash = Get-FileHash -Algorithm SHA512 $(DESTDIR)usr/local/include/sal.h | ForEach { $_.Hash} | Out-String
Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -o $(DEST_DIR)usr/local/include/sal.h
$fileHash = Get-FileHash -Algorithm SHA512 $(DEST_DIR)usr/local/include/sal.h | ForEach { $_.Hash} | Out-String
$filehash = $fileHash.Trim()
Write-Host "##[debug]SHA512: " $filehash
if ($fileHash -ne "1643571673195d9eb892d2f2ac76eac7113ef7aa0ca116d79f3e4d3dc9df8a31600a9668b7e7678dfbe5a76906f9e0734ef8d6db0903ccc68fc742dd8238d8b0") {
@ -91,7 +91,7 @@ jobs:
displayName: CMake SimpleMath
inputs:
cwd: Tests/SimpleMathTest
cmakeArgs: -B out -DCMAKE_PREFIX_PATH=$(DESTDIR)usr/local/share;$(DESTDIR)usr/local/cmake
cmakeArgs: -B out -DCMAKE_PREFIX_PATH=$(DEST_DIR)usr/local/share;$(DEST_DIR)usr/local/cmake
- task: CMake@1
displayName: CMake SimpleMath (Build)
inputs:

Просмотреть файл

@ -18,7 +18,7 @@ pool:
variables:
GITHUB_PAT: $(GITHUBPUBLICTOKEN)
DESTDIR: $(DESTDIR)
DEST_DIR: $(DESTDIR)
jobs:
- job: BUILD_SIMPLEMATH
@ -79,8 +79,8 @@ jobs:
targetType: inline
script: |
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -o $(DESTDIR)usr/local/include/sal.h
$fileHash = Get-FileHash -Algorithm SHA512 $(DESTDIR)usr/local/include/sal.h | ForEach { $_.Hash} | Out-String
Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -o $(DEST_DIR)usr/local/include/sal.h
$fileHash = Get-FileHash -Algorithm SHA512 $(DEST_DIR)usr/local/include/sal.h | ForEach { $_.Hash} | Out-String
$filehash = $fileHash.Trim()
Write-Host "##[debug]SHA512: " $filehash
if ($fileHash -ne "1643571673195d9eb892d2f2ac76eac7113ef7aa0ca116d79f3e4d3dc9df8a31600a9668b7e7678dfbe5a76906f9e0734ef8d6db0903ccc68fc742dd8238d8b0") {
@ -91,7 +91,7 @@ jobs:
displayName: CMake SimpleMath
inputs:
cwd: Tests/SimpleMathTest
cmakeArgs: -B out -DCMAKE_PREFIX_PATH=$(DESTDIR)usr/local/share;$(DESTDIR)usr/local/cmake
cmakeArgs: -B out -DCMAKE_PREFIX_PATH=$(DEST_DIR)usr/local/share;$(DEST_DIR)usr/local/cmake
- task: CMake@1
displayName: CMake SimpleMath (Build)
inputs: