Add target option to com-scrape and vst3-bindgen #62
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: CI | |
on: | |
push: | |
branches: | |
master | |
pull_request: | |
branches: | |
master | |
env: | |
VST3_SDK_DIR: ${{ github.workspace }}/vst3sdk | |
jobs: | |
ci: | |
name: Build and run tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Check out VST3 SDK | |
uses: actions/checkout@v3 | |
with: | |
repository: coupler-rs/vst3_pluginterfaces | |
path: vst3sdk/pluginterfaces | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install libclang (Linux) | |
if: contains(matrix.os, 'ubuntu') | |
run: | | |
sudo apt-get update | |
sudo apt-get install llvm-dev libclang-dev clang | |
- name: Install libclang (Windows) | |
if: contains(matrix.os, 'windows') | |
run: | | |
choco install llvm | |
- name: Build | |
run: cargo build --workspace --examples | |
- name: Run tests | |
run: cargo test --workspace |