Update website (#33) #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [ "develop" ] | |
pull_request: | |
branches: [ "develop" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Code format check | |
run: cargo fmt --check | |
- name: Build TQUIC library | |
run: cargo build -F ffi --verbose | |
- name: Build TQUIC tools | |
run: cargo build --all --verbose | |
- name: Code lint check | |
run: cargo clippy | |
- name: Unit testing | |
run: cargo test --verbose | |
- name: Fuzz testing | |
run: | | |
rustup install nightly | |
rustup default nightly | |
cargo install cargo-fuzz | |
cargo fuzz run client_conn -- -max_total_time=30 | |
cargo fuzz run server_conn -- -max_total_time=30 | |