Improved docs, tests and CI #1
Workflow file for this run
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: CaDiCaL | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
env: | ||
CARGO_TERM_COLOR: always | ||
jobs: | ||
build-test: | ||
name: Build and test | ||
strategy: | ||
Check failure on line 15 in .github/workflows/cadical.yml GitHub Actions / CaDiCaLInvalid workflow file
|
||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
- name: Install stable toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
- uses: Swatinem/rust-cache@v2 | ||
shared-key: "build-test" | ||
- name: Cargo build | ||
run: cargo build -p rustsat-cadical --verbose --features=all | ||
- name: Cargo test | ||
run: cargo test -p rustsat-cadical --verbose --features=all |