mirror of
https://github.com/git-for-windows/git.git
synced 2026-05-05 05:58:01 -05:00
ci: adjust Azure Pipeline for runs_on_pool
These refactorings are really gifts that keep on giving. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -224,6 +224,12 @@ then
|
|||||||
|
|
||||||
GIT_TEST_OPTS="--write-junit-xml"
|
GIT_TEST_OPTS="--write-junit-xml"
|
||||||
JOBS=10
|
JOBS=10
|
||||||
|
case "$CI_OS_NAME" in
|
||||||
|
linux) runs_on_pool=ubuntu-latest;;
|
||||||
|
macos|osx) runs_on_pool=macos-latest;;
|
||||||
|
windows_nt) runs_on_pool=windows-latest;;
|
||||||
|
*) echo "Unhandled OS: $CI_OS_NAME" >&2; exit 1;;
|
||||||
|
esac
|
||||||
elif test true = "$GITHUB_ACTIONS"
|
elif test true = "$GITHUB_ACTIONS"
|
||||||
then
|
then
|
||||||
CI_TYPE=github-actions
|
CI_TYPE=github-actions
|
||||||
|
|||||||
Reference in New Issue
Block a user