1. delele CachePadded, 2. Increase initialization sampling duration, … #6
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: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
defaults: | |
run: | |
shell: bash | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust Toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: nightly | |
- name: Build example | |
run: cargo build -r --example=tsc_example --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Run bench | |
run: cargo +nightly bench --verbose | |
- name: Run example | |
run: ./target/release/examples/tsc_example |