FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
wirefilter/.github/workflows/rust.yml at master · programlife555/wirefilter · GitHub
programlife555
/
wirefilter
Public
forked from
cloudflare/wirefilter
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
wirefilter
/
.github
/
workflows
/
rust.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
92 lines (87 loc) · 2.45 KB
Breadcrumbs
wirefilter
/
.github
/
workflows
/
rust.yml
Copy path
File metadata and controls
92 lines (87 loc) · 2.45 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name
:
Rust
on
:
push
:
branches
:
[ master ]
pull_request
:
branches
:
[ master ]
env
:
CARGO_TERM_COLOR
:
always
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4
-
uses
:
actions-rust-lang/setup-rust-toolchain@v1
with
:
toolchain
:
stable
components
:
clippy,rustfmt
-
name
:
Print versions
run
:
|
cargo --version
rustc --version
clippy-driver --version
rustfmt --version
-
name
:
Build
run
:
cargo build --verbose
-
name
:
Run tests
run
:
cargo test --verbose
-
name
:
Run clippy
run
:
cargo clippy --verbose --all-targets -- -D clippy::all
-
name
:
Check code formatting
run
:
cargo fmt --verbose --all -- --check
doc
:
name
:
Documentation
runs-on
:
ubuntu-latest
env
:
RUSTDOCFLAGS
:
-D warnings
steps
:
-
uses
:
actions/checkout@v4
-
uses
:
actions-rust-lang/setup-rust-toolchain@v1
with
:
toolchain
:
stable
-
name
:
Print versions
run
:
|
cargo --version
rustc --version
rustdoc --version
-
name
:
Doc
run
:
cargo doc --verbose
-
name
:
Doc with all features
run
:
cargo doc --verbose --all-features
miri-test
:
name
:
Test with miri
runs-on
:
ubuntu-latest
env
:
MIRIFLAGS
:
-Zmiri-disable-isolation
steps
:
-
uses
:
actions/checkout@v4
-
uses
:
actions-rust-lang/setup-rust-toolchain@v1
with
:
toolchain
:
nightly
components
:
miri
-
run
:
cargo miri test --verbose --no-default-features
-
run
:
cargo miri test --verbose --all-features
sanitizer-test
:
name
:
Test with -Zsanitizer=${{ matrix.sanitizer }}
runs-on
:
ubuntu-latest
strategy
:
fail-fast
:
false
matrix
:
sanitizer
:
[address, thread, leak]
steps
:
-
uses
:
actions/checkout@v4
-
uses
:
actions-rust-lang/setup-rust-toolchain@v1
with
:
toolchain
:
nightly
components
:
rust-src
-
name
:
Test with sanitizer
env
:
RUSTFLAGS
:
-Zsanitizer=${{ matrix.sanitizer }}
RUSTDOCFLAGS
:
-Zsanitizer=${{ matrix.sanitizer }}
#
only needed by asan
ASAN_OPTIONS
:
detect_stack_use_after_return=1,detect_leaks=0
#
Asan's leak detection occasionally complains
#
about some small leaks if backtraces are captured,
#
so ensure they're not
RUST_BACKTRACE
:
0
run
:
cargo test -Zbuild-std --verbose --target=x86_64-unknown-linux-gnu --lib --bins --tests
Back
|
FazBrowse Home
|
New Git URL