diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74aa879afd3e3..966002f9747fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -272,9 +272,9 @@ jobs: - run: > podman run --init --privileged --rm -it -v $(pwd):$(pwd) -w $(pwd) docker.io/pbolinaro/qemu-ci:debian-all-test-cross - bash -cx "env ASAN_OPTIONS=detect_leaks=0 make -k check-tcg V=1" + bash -cx "env ASAN_OPTIONS=detect_leaks=0 make -k -j $(nproc) check-tcg V=1" - # run all meson tests, including functional. Run -j1 to avoid sporadic issues. + # run all meson tests, including functional. # block tests are not ran because they don't support sanitizers: # https://gitlab.com/qemu-project/qemu/-/blob/master/tests/qemu-iotests/meson.build check: @@ -291,7 +291,7 @@ jobs: - 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 "env ASAN_OPTIONS=detect_leaks=0 make -k check SPEED=thorough TIMEOUT_MULTIPLIER=5 V=1" + bash -cx "env ASAN_OPTIONS=detect_leaks=0 make -k -j $(nproc) check SPEED=thorough TIMEOUT_MULTIPLIER=5 V=1" # iotests do not support sanitizers, so we run them in their own job check-block: @@ -308,7 +308,7 @@ jobs: - 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 "./build/pyvenv/bin/meson test -C build --suite block --suite block-slow --suite block-thorough -j 1 --timeout-multiplier 5 --verbose" + bash -cx "./build/pyvenv/bin/meson test -C build --suite block --suite block-slow --suite block-thorough -j $(nproc) --timeout-multiplier 5 --verbose" check-avocado: needs: checkapply @@ -326,4 +326,4 @@ jobs: - 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 "env ASAN_OPTIONS=detect_leaks=0 make -k check-avocado V=1" + bash -cx "env ASAN_OPTIONS=detect_leaks=0 make -k -j $(nproc) check-avocado V=1"