Debian Codegraph @

crt/s2n/.github/workflows/ci_aws_kms_tls_auth.yml

raw symbols SCIP
1 name: aws kms tls auth ci
2
3 on:
4 push:
5 branches: [main]
6 pull_request:
7 branches: [main]
8 merge_group:
9 types: [checks_requested]
10 branches: [main]
11
12 permissions:
13 contents: read
14
15 jobs:
16 lint:
17 name: rustfmt and clippy
18 runs-on: ubuntu-latest
19 defaults:
20 run:
21 working-directory: bindings/rust/aws-kms-tls-auth
22 steps:
23 - uses: actions/checkout@v7
24 - name: Install Rust toolchain
25 run: |
26 rustup toolchain install stable --component clippy,rustfmt
27 rustup override set stable
28
29 - run: cargo fmt --all -- --check
30 - run: cargo clippy -- -D warnings
31
32 build-and-test:
33 name: build and test
34 runs-on: ubuntu-latest
35 defaults:
36 run:
37 working-directory: bindings/rust/aws-kms-tls-auth
38 steps:
39 - uses: actions/checkout@v7
40 - name: Install Rust toolchain
41 run: |
42 rustup toolchain install stable
43 rustup override set stable
44
45 - run: cargo build
46 - run: cargo test
47
48 fuzz:
49 name: fuzz tests
50 runs-on: ubuntu-latest
51 defaults:
52 run:
53 working-directory: bindings/rust/aws-kms-tls-auth/fuzz
54 steps:
55 - uses: actions/checkout@v7
56
57 # the nightly toolchain is needed for ASAN, which is turned on for fuzz tests
58 - name: Install Rust toolchain
59 run: |
60 rustup toolchain install nightly
61 rustup override set nightly
62
63 - run: cargo install cargo-fuzz
64
65 - name: run psk-identities fuzzer
66 run: cargo fuzz run psk_client_hello -- -max_total_time=30