Skip to content

Commit

Permalink
ci: adjust Azure Pipeline for runs_on_pool
Browse files Browse the repository at this point in the history
These refactorings are really gifts that keep on giving.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Sep 18, 2024
1 parent 85874a1 commit 65c7df4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,12 @@ then

GIT_TEST_OPTS="--write-junit-xml"
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"
then
CI_TYPE=github-actions
Expand Down

0 comments on commit 65c7df4

Please sign in to comment.