Encode a pluginProperties for each processor #31
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: Cargo build and test | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
cargo-build-and-test: | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu, macos] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@v2 | |
- run: sudo apt-get update && sudo apt-get install opam | |
if: matrix.os == 'ubuntu' | |
- run: brew install opam | |
if: matrix.os == 'macos' | |
- run: | | |
opam init --compiler=5.1.1 --disable-sandboxing -y | |
opam env | sed "s/ export .*//g" | sed "s/'//g" | sed "s/\;//g" >> $GITHUB_ENV | |
- run: ./ocaml-setup.sh | |
- run: cargo build | |
- run: cargo test |