Browse Source

Use native tools present on the machine rather than bootstraped tools in CI build (#7841)

pull/7841/merge
Igor Velikorossov 3 years ago
committed by GitHub
parent
commit
47b3f56fb6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Restore.cmd
  2. 2
      build.cmd
  3. 2
      global.json

2
Restore.cmd

@ -1,2 +1,2 @@
@echo off
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\common\Build.ps1""" -restore %*"
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\common\Build.ps1""" -NativeToolsOnMachine -restore %*"

2
build.cmd

@ -1,3 +1,3 @@
@echo off
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\common\Build.ps1""" -restore -build -bl %*"
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\common\Build.ps1""" -NativeToolsOnMachine -restore -build -bl %*"
exit /b %ErrorLevel%

2
global.json

@ -21,6 +21,6 @@
"Microsoft.NET.Sdk.IL": "8.0.0-alpha.1.22471.15"
},
"native-tools": {
"cmake": "3.21.0"
"cmake": "3"
}
}
Loading…
Cancel
Save