Skip to content

Commit

Permalink
ci: run with sanitizers
Browse files Browse the repository at this point in the history
  • Loading branch information
pbo-linaro committed Dec 3, 2024
1 parent 5341e7c commit eaed1ef
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,11 @@ jobs:
- run: >
podman run --init --rm -it -v $(pwd):$(pwd) -w $(pwd)
docker.io/pbolinaro/qemu-ci:debian-all-test-cross
bash -cx './configure $QEMU_CONFIGURE_OPTS --enable-debug-tcg && ninja -C build'
bash -cx './configure $QEMU_CONFIGURE_OPTS --enable-debug-tcg --enable-asan --enable-ubsan && ninja -C build'
- run: >
podman run --init --privileged --rm -it -v $(pwd):$(pwd) -w $(pwd)
docker.io/pbolinaro/qemu-ci:debian-all-test-cross
bash -cx "make -k check-tcg"
bash -cx "env ASAN_OPTIONS=detect_leaks=0 make -k check-tcg"
# run all meson tests, including functional. Run -j1 to avoid sporadic issues.
check:
Expand All @@ -284,12 +284,12 @@ jobs:
- run: >
podman run --init --rm -it -v $(pwd):$(pwd) -w $(pwd)
docker.io/pbolinaro/qemu-ci:debian-precache-tests
bash -cx './configure --enable-debug-tcg && ninja -C build'
bash -cx './configure --enable-debug-tcg --enable-asan --enable-ubsan && ninja -C build'
- run: sudo chown $USER:$USER /dev/kvm
- run: >
podman run --init --privileged --rm -it -v /dev/kvm:/dev/kvm -v $(pwd):$(pwd) -w $(pwd)
docker.io/pbolinaro/qemu-ci:debian-precache-tests
bash -cx "make -k check SPEED=thorough TIMEOUT_MULTIPLIER=5"
bash -cx "env ASAN_OPTIONS=detect_leaks=0 make -k check SPEED=thorough TIMEOUT_MULTIPLIER=5"
check-avocado:
needs: checkapply
Expand All @@ -302,9 +302,9 @@ jobs:
- run: >
podman run --init --rm -it -v $(pwd):$(pwd) -w $(pwd)
docker.io/pbolinaro/qemu-ci:debian-precache-tests
bash -cx './configure --enable-debug-tcg && ninja -C build'
bash -cx './configure --enable-debug-tcg --enable-asan --enable-ubsan && ninja -C build'
- run: sudo chown $USER:$USER /dev/kvm
- run: >
podman run --init --privileged --rm -it -v /dev/kvm:/dev/kvm -v $(pwd):$(pwd) -w $(pwd)
docker.io/pbolinaro/qemu-ci:debian-precache-tests
bash -cx "make -k check-avocado"
bash -cx "env ASAN_OPTIONS=detect_leaks=0 make -k check-avocado"

0 comments on commit eaed1ef

Please sign in to comment.