Fix latency incorrectly bridging across latency domains #490
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: CI | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| CARGO_INCREMENTAL: 0 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: 1.88 | |
| override: true | |
| components: rustfmt, clippy | |
| - name: Build | |
| run: cargo build --verbose --all-features | |
| - name: Run tests | |
| run: cargo test --verbose --all-features | |
| - name: Run regression test | |
| run: ./target/debug/sus_compiler test.sus --ci --nocolor -o test.sus_codegen_ci.sv 1> test.sus_output_ci.txt 2> test.sus_errors_ci.txt || true && diff test.sus_output_ci.txt /dev/null && diff test.sus_errors_ci.txt test.sus_errors.txt && diff test.sus_codegen_ci.sv test.sus_codegen.sv | |
| lint: | |
| runs-on: ubuntu-latest | |
| env: | |
| CARGO_INCREMENTAL: 0 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: 1.88 | |
| override: true | |
| components: rustfmt, clippy | |
| - name: format | |
| run: cargo fmt --check | |
| - name: clippy | |
| run: RUSTFLAGS="-A unused" cargo clippy -- -Dwarnings |