Skip to content
Snippets Groups Projects
Commit 67d3e67d authored by Tom Rini's avatar Tom Rini
Browse files

ci: azure: Update to use stages


Follow what we do in GitLab CI where we break the jobs up in to stages
such that if earlier and often quicker sanity tests fail we don't run
everything else.

Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent 824204e4
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,9 @@ variables:
container_option: -u 0
work_dir: /u
jobs:
stages:
- stage: testsuites
jobs:
- job: tools_only_windows
displayName: 'Ensure host tools build for Windows'
pool:
......@@ -199,6 +201,8 @@ jobs:
export PATH=/opt/gcc-11.1.0-nolibc/arm-linux-gnueabi/bin:$PATH
test/nokia_rx51_test.sh
- stage: test_py
jobs:
- job: test_py
displayName: 'test.py'
pool:
......@@ -381,6 +385,8 @@ jobs:
# Some tests using libguestfs-tools need the fuse device to run
docker run "$@" --device /dev/fuse:/dev/fuse -v $PWD:$(work_dir) $(ci_runner_image) /bin/bash $(work_dir)/test.sh
- stage: world_build
jobs:
- job: build_the_world
displayName: 'Build the World'
pool:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment