summaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d2bcc47d..975ed5c4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -112,6 +112,21 @@ jobs:
- name: miri
run: cargo miri test --features rt,rt-multi-thread,sync task
working-directory: tokio
+ san:
+ name: san
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions-rs/toolchain@v1
+ with:
+ toolchain: ${{ env.nightly }}
+ override: true
+ - name: asan
+ run: cargo test --all-features --target x86_64-unknown-linux-gnu --lib -- --test-threads 1
+ working-directory: tokio
+ env:
+ RUSTFLAGS: -Z sanitizer=address
+ ASAN_OPTIONS: detect_leaks=0
cross:
name: cross