-
Notifications
You must be signed in to change notification settings - Fork 30
37 lines (31 loc) · 1.27 KB
/
sanitizers.yml
File metadata and controls
37 lines (31 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Sanitizers (Scheduled)
on:
workflow_dispatch: {}
schedule:
- cron: '0 4 * * *'
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
asan-smoke:
name: ASAN Smoke (hush-cli + clawdstrike)
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- uses: actions/checkout@v6
- name: Install build prerequisites
run: |
sudo apt-get update
sudo apt-get install -y clang lld
- name: Install Rust nightly
uses: dtolnay/rust-toolchain@nightly
with:
targets: x86_64-unknown-linux-gnu
- name: Run ASAN smoke tests
env:
RUSTFLAGS: -Zsanitizer=address
ASAN_OPTIONS: detect_leaks=1:strict_string_checks=1
run: |
cargo +nightly test -Zbuild-std --target x86_64-unknown-linux-gnu -p hush-cli hush_run::tests::connect_proxy_rejects_ip_target_with_allowlisted_sni_mismatch -- --exact
cargo +nightly test -Zbuild-std --target x86_64-unknown-linux-gnu -p hush-cli hush_run::tests::connect_proxy_hostname_target_is_ip_pinned_after_policy_check -- --exact
cargo +nightly test -Zbuild-std --target x86_64-unknown-linux-gnu -p clawdstrike --test security_regressions security_regression_async_background_guards_enforce_inflight_limit -- --exact