Repository navigation
Refactor bootstrapped build infrastructure #14361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
d6b0253
Initial commit
ViktorHofer c7cd354
Improve display names
ViktorHofer 19e5c82
Fix chmod permissions
ViktorHofer 7eb3d1a
Improve display names again
ViktorHofer baba321
Improve display name for REAL
ViktorHofer 54cb41a
project filtering fixes
ViktorHofer 4ca4138
Fix condition for MSBuildTaskHost in test
ViktorHofer f3759d1
Potential fix for pull request finding
ViktorHofer 2579464
Potential fix for pull request finding
ViktorHofer ae5065c
Potential fix for pull request finding
ViktorHofer b895804
Small updates
ViktorHofer 91d21ea
Use git diff --unified=0 to avoid version-bump false negatives
ViktorHofer 263363d
Fix xml comment
ViktorHofer 357892e
Add disablePipelineSetResult switch to build/tools scripts
ViktorHofer 816f2fd
Pass -disablePipelineSetResult to stage1 build in multi-stage builds
ViktorHofer e051a6d
Gate DotNet failure path on disablePipelineSetResult too
ViktorHofer 38ac84a
Suppress 'git version' output from EngineServices version-bump check
ViktorHofer c33cead
Merge branch 'main' into InfraRefactoring
ViktorHofer b462847
Remove onlyDocChanged switches
ViktorHofer 00addfc
Bring back MSBUILDDEBUGONSTART
ViktorHofer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,16 @@ | ||
| @echo off | ||
| setlocal | ||
|
|
||
| set _args=%* | ||
| if "%~1"=="-?" set _args=-help | ||
| if "%~1"=="/?" set _args=-help | ||
|
|
||
| if defined MSBUILDDEBUGONSTART_HARD goto build | ||
| if not defined MSBUILDDEBUGONSTART goto build | ||
| if %MSBUILDDEBUGONSTART% == 0 goto build | ||
| set MSBUILDDEBUGONSTART= | ||
| echo To debug the build, define a value for MSBUILDDEBUGONSTART_HARD. | ||
|
|
||
| :build | ||
| powershell -NoLogo -NoProfile -ExecutionPolicy ByPass -Command "& """%~dp0eng\common\build.ps1""" -build -restore %*" | ||
| exit /b %ErrorLevel% | ||
| powershell -ExecutionPolicy ByPass -NoProfile -Command "& '%~dp0eng\build.ps1'" -restore -build %_args% | ||
| exit /b %ERRORLEVEL% | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,16 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| SOURCE="${BASH_SOURCE[0]}" | ||
| while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink | ||
| ScriptRoot="$( cd -P "$( dirname "$SOURCE" )" && pwd )" | ||
| SOURCE="$(readlink "$SOURCE")" | ||
| [[ $SOURCE != /* ]] && SOURCE="$ScriptRoot/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located | ||
| source="${BASH_SOURCE[0]}" | ||
|
|
||
| # resolve $SOURCE until the file is no longer a symlink | ||
| while [[ -h $source ]]; do | ||
| scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" | ||
| source="$(readlink "$source")" | ||
|
|
||
| # if $source was a relative symlink, we need to resolve it relative to the path where the | ||
| # symlink file was located | ||
| [[ $source != /* ]] && source="$scriptroot/$source" | ||
| done | ||
| ScriptRoot="$( cd -P "$( dirname "$SOURCE" )" && pwd )" | ||
|
|
||
| . "$ScriptRoot/eng/common/build.sh" --build --restore "$@" | ||
| scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" | ||
| "$scriptroot/eng/build.sh" --restore --build "$@" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.