Show the editor in the README #6
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, main] | |
| pull_request: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUSTFLAGS: -D warnings | |
| # CI builds only the offline crates. The reference data (model/param names) is Line 6's and is | |
| # never in the repo, so the data-gated tests compile out here (have_bundled_data is unset) and the | |
| # suite runs on the in-repo capture fixtures alone. The GUI (fretwire-tauri) is excluded to avoid | |
| # pulling the WebKitGTK system-dependency tree — and its built frontend — into CI. | |
| jobs: | |
| build-test: | |
| name: build & test (offline crates) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Rust toolchain info | |
| run: rustc --version && cargo --version | |
| - name: Build | |
| run: > | |
| cargo build --locked --verbose | |
| -p fretwire -p fretwire-data -p fretwire-protocol | |
| -p fretwire-usb -p fretwire-core -p fretwire-cli | |
| - name: Test | |
| run: > | |
| cargo test --locked --verbose | |
| -p fretwire -p fretwire-data -p fretwire-protocol | |
| -p fretwire-usb -p fretwire-core -p fretwire-cli |