Fix deadlock between ngless and bwa mem on chatty stderr #76
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 Rust | |
| on: [push, pull_request] | |
| jobs: | |
| # External tools (samtools/bwa/minimap2/prodigal/megahit) for the functional | |
| # tests are provided by the pinned pixi environment | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Format check | |
| run: cargo fmt --all -- --check | |
| - name: Build | |
| run: cargo build --workspace --all-targets --release | |
| - name: Unit tests | |
| run: cargo test --workspace | |
| - uses: prefix-dev/setup-pixi@v0.10.0 | |
| with: | |
| cache: true | |
| environments: default | |
| - name: Run functional tests against the Rust binary | |
| run: pixi run --environment default bash -c 'NGLESS_BIN="$PWD/target/release/ngless" ./run-tests.sh' | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| path: target/release/ngless |