aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-08-22 02:25:09 -0700
committerHaibo Huang <hhb@google.com>2020-09-10 15:26:36 -0700
commitb5372b7e695e7086f679629cae6864b785959112 (patch)
tree7627b35b901cea37bfd0a90396c150eddd1e526b /.github/workflows
parent4cc969aae626ee2e932d751097d57a7cbf79dd0e (diff)
downloadrusqlite-b5372b7e695e7086f679629cae6864b785959112.tar.gz
Upgrade rust/crates/rusqlite to 0.24.0
Test: make Change-Id: Ifa96d283fdbe3a0ba3190c3c8b13f8740507d34f
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.