aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index d64ee25..5e93ceb 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -54,6 +54,14 @@ jobs:
command: test
args: --features 'bundled-full session buildtime_bindgen' --all-targets --workspace
+ - name: "cargo test --doc --features 'bundled-full session buildtime_bindgen'"
+ # TODO: clang is installed on these -- but `bindgen` can't find it...
+ if: matrix.platform.os != 'windows-latest'
+ uses: actions-rs/cargo@v1
+ with:
+ command: test
+ args: --features 'bundled-full session buildtime_bindgen' --doc --workspace
+
- name: "cargo test --features bundled-full"
uses: actions-rs/cargo@v1
with:
@@ -85,6 +93,11 @@ jobs:
RUSTFLAGS: -Zsanitizer=address
RUSTDOCFLAGS: -Zsanitizer=address
ASAN_OPTIONS: 'detect_stack_use_after_return=1'
+ # Work around https://github.com/rust-lang/rust/issues/59125 by
+ # disabling backtraces. In an ideal world we'd probably suppress the
+ # leak sanitization, but we don't care about backtraces here, so long
+ # as the other tests have them.
+ RUST_BACKTRACE: '0'
run: cargo -Z build-std test --features 'bundled-full session buildtime_bindgen with-asan' --target x86_64-unknown-linux-gnu
# Ensure clippy doesn't complain.