File tree 4 files changed +53
-42
lines changed
4 files changed +53
-42
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ push
5
+
6
+ env :
7
+ CARGO_TERM_COLOR : always
8
+ LIBCLANG_PATH : /usr/lib/llvm-14/lib/
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-22.04
13
+ strategy :
14
+ matrix :
15
+ version : [community, enterprise]
16
+ steps :
17
+ - name : Install apt-get
18
+ run : sudo apt-get install -y clang llvm
19
+ - uses : actions/checkout@v3
20
+ - name : Build
21
+ run : cargo build --features=${{ matrix.version }} --verbose
Original file line number Diff line number Diff line change 9
9
jobs :
10
10
clippy_check :
11
11
runs-on : ubuntu-latest
12
+ strategy :
13
+ matrix :
14
+ version : [community, enterprise]
12
15
steps :
13
16
- uses : actions/checkout@v1
14
17
- run : rustup component add clippy
15
18
- uses : actions-rs/clippy-check@v1
16
19
with :
17
20
token : ${{ secrets.GITHUB_TOKEN }}
18
- name : Clippy - community
19
- args : --features=community
20
- - uses : actions-rs/clippy-check@v1
21
- with :
22
- token : ${{ secrets.GITHUB_TOKEN }}
23
- name : Clippy - enterprise
24
- args : --features=enterprise
21
+ name : Clippy
22
+ args : --features=${{ matrix.version }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ on :
4
+ push
5
+
6
+ env :
7
+ CARGO_TERM_COLOR : always
8
+ LIBCLANG_PATH : /usr/lib/llvm-14/lib/
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-22.04
13
+ strategy :
14
+ matrix :
15
+ version : [community, enterprise]
16
+ steps :
17
+ - name : Install apt-get
18
+ run : sudo apt-get install -y clang llvm
19
+ - name : Install latest nightly
20
+ uses : dtolnay/rust-toolchain@v1
21
+ with :
22
+ toolchain : nightly
23
+ components : rustfmt, clippy
24
+ - name : Run tests
25
+ run : cargo test --features=${{ matrix.version }} --verbose
26
+ - name : Run tests (with address sanitizer)
27
+ run : LSAN_OPTIONS=suppressions=san.supp RUSTFLAGS="-Zsanitizer=address" cargo +nightly test --features=--features=${{ matrix.version }} --verbose
You can’t perform that action at this time.
0 commit comments