Skip to content

Commit

Permalink
Use native tools present on the machine rather than bootstraped tools…
Browse files Browse the repository at this point in the history
… in CI build (dotnet#7841)
  • Loading branch information
RussKie authored Sep 26, 2022
1 parent 778f276 commit 47b3f56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Restore.cmd
Original file line number Diff line number Diff line change
@@ -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 changes: 1 addition & 1 deletion build.cmd
Original file line number Diff line number Diff line change
@@ -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 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"Microsoft.NET.Sdk.IL": "8.0.0-alpha.1.22471.15"
},
"native-tools": {
"cmake": "3.21.0"
"cmake": "3"
}
}

0 comments on commit 47b3f56

Please sign in to comment.