stress testing #190
This file contains hidden or 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: Build | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| paths: | |
| - 'typhoon/**' | |
| - '.github/workflows/build.yaml' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| jobs: | |
| typhoon-build: | |
| name: Build and Run TYPHOON Binaries and Examples | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| steps: | |
| - name: Checkout ποΈ | |
| uses: actions/checkout@v4 | |
| - name: Setup Rust π¦ | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: "1.89.0" | |
| rust-src-dir: typhoon | |
| override: true | |
| - name: Build debug ποΈ | |
| working-directory: typhoon | |
| run: cargo build | |
| - name: Build release π | |
| working-directory: typhoon | |
| run: cargo build --release | |
| - name: Build debug binary π¬ | |
| working-directory: typhoon | |
| run: cargo build --features debug --bin typhoon-debug | |
| - name: Run hello_world example π | |
| working-directory: typhoon | |
| env: | |
| RUST_LOG: debug | |
| run: cargo run --example hello_world --features debug | |
| - name: Run debug_probe example π©Ί | |
| working-directory: typhoon | |
| env: | |
| RUST_LOG: debug | |
| run: cargo run --example debug_probe --features debug | |
| - name: Run multi_flow example π | |
| working-directory: typhoon | |
| env: | |
| RUST_LOG: debug | |
| run: cargo run --example multi_flow --features debug | |
| - name: Run long_session example β³ | |
| working-directory: typhoon | |
| env: | |
| RUST_LOG: debug | |
| run: cargo run --example long_session --features debug | |
| - name: Run heavy_traffic example ποΈ | |
| working-directory: typhoon | |
| env: | |
| RUST_LOG: info | |
| run: cargo run --release --example heavy_traffic | |
| - name: Run multi_client example π₯ | |
| working-directory: typhoon | |
| env: | |
| RUST_LOG: debug | |
| run: cargo run --example multi_client --features debug | |
| - name: Run client_pool example π | |
| working-directory: typhoon | |
| env: | |
| RUST_LOG: debug | |
| run: cargo run --example client_pool --features debug | |
| - name: Run use_case example π | |
| working-directory: typhoon | |
| env: | |
| RUST_LOG: debug | |
| run: cargo run --example use_case | |
| - name: Run mirror_decoy example πͺ | |
| working-directory: typhoon | |
| env: | |
| RUST_LOG: debug | |
| run: cargo run --example mirror_decoy | |
| - name: Run flat_iat_decoy example π | |
| working-directory: typhoon | |
| env: | |
| RUST_LOG: debug | |
| run: cargo run --example flat_iat_decoy | |
| - name: Run mimic_probe example π¦ | |
| working-directory: typhoon | |
| env: | |
| RUST_LOG: debug | |
| run: cargo run --example mimic_probe |