Skip to content

Fix deadlock between ngless and bwa mem on chatty stderr #76

Fix deadlock between ngless and bwa mem on chatty stderr

Fix deadlock between ngless and bwa mem on chatty stderr #76

Workflow file for this run

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