Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Sep 12, 2023
1 parent 4891bc0 commit 9bddbfd
Show file tree
Hide file tree
Showing 3 changed files with 606 additions and 606 deletions.
44 changes: 22 additions & 22 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,28 +107,28 @@ aarch64_macos_test_task:
# Cirrus CI's aarch64 macOS VM is fast enough, so run ignored tests too.
- ./tools/test.sh -vv -- --include-ignored

aarch64_linux_valgrind_task:
name: valgrind ($TARGET)
env:
TARGET: aarch64-unknown-linux-gnu
arm_container:
# Valgrind support ldxp/stxp on 3.19+: https://valgrind.org/docs/manual/dist.news.html
# However, current Debian stable's Valgrind is 3.16: https://packages.debian.org/en/stable/valgrind
image: rust:bookworm
setup_script:
- set -ex
- rustup toolchain add nightly --no-self-update && rustup default nightly
- apt-get -o Acquire::Retries=10 -qq update && apt-get -o Acquire::Retries=10 -o Dpkg::Use-Pty=0 install -y --no-install-recommends moreutils valgrind
test_script:
- set -ex
- ./tools/test.sh valgrind -vv
# We test doctest only once with the default build conditions because doctest is slow. Both api-test
# and src/tests have extended copies of doctest, so this will not reduce test coverage.
# outline-atomics is enabled by default on linux-gnu and linux-musl with dynamic linking.
- RUSTFLAGS="$RUSTFLAGS --cfg portable_atomic_no_outline_atomics" RUSTDOCFLAGS="$RUSTDOCFLAGS --cfg portable_atomic_no_outline_atomics" ./tools/test.sh valgrind -vv --tests
# +lse
# As of Valgrind 3.19, Valgrind supports atomic instructions of ARMv8.0 and ARMv8.1 (FEAT_LSE).
- RUSTFLAGS="$RUSTFLAGS -C target-feature=+lse" RUSTDOCFLAGS="$RUSTDOCFLAGS -C target-feature=+lse" ./tools/test.sh valgrind -vv --tests
# aarch64_linux_valgrind_task:
# name: valgrind ($TARGET)
# env:
# TARGET: aarch64-unknown-linux-gnu
# arm_container:
# # Valgrind support ldxp/stxp on 3.19+: https://valgrind.org/docs/manual/dist.news.html
# # However, current Debian stable's Valgrind is 3.16: https://packages.debian.org/en/stable/valgrind
# image: rust:bookworm
# setup_script:
# - set -ex
# - rustup toolchain add nightly --no-self-update && rustup default nightly
# - apt-get -o Acquire::Retries=10 -qq update && apt-get -o Acquire::Retries=10 -o Dpkg::Use-Pty=0 install -y --no-install-recommends moreutils valgrind
# test_script:
# - set -ex
# - ./tools/test.sh valgrind -vv
# # We test doctest only once with the default build conditions because doctest is slow. Both api-test
# # and src/tests have extended copies of doctest, so this will not reduce test coverage.
# # outline-atomics is enabled by default on linux-gnu and linux-musl with dynamic linking.
# - RUSTFLAGS="$RUSTFLAGS --cfg portable_atomic_no_outline_atomics" RUSTDOCFLAGS="$RUSTDOCFLAGS --cfg portable_atomic_no_outline_atomics" ./tools/test.sh valgrind -vv --tests
# # +lse
# # As of Valgrind 3.19, Valgrind supports atomic instructions of ARMv8.0 and ARMv8.1 (FEAT_LSE).
# - RUSTFLAGS="$RUSTFLAGS -C target-feature=+lse" RUSTDOCFLAGS="$RUSTDOCFLAGS -C target-feature=+lse" ./tools/test.sh valgrind -vv --tests
#
# aarch64_linux_bench_task:
# name: bench ($TARGET)
Expand Down
Loading

0 comments on commit 9bddbfd

Please sign in to comment.