Build a shell AU with cmake #78
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: Pull Request Validation | |
on: | |
pull_request: | |
branches: | |
- main | |
- next | |
jobs: | |
build_feature: | |
name: Build feature | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest] | |
#os: [ubuntu-latest, macos-latest, windows-latest] | |
include: | |
- os: windows-latest | |
name: win | |
- os: macos-latest | |
name: mac | |
- os: ubuntu-latest | |
name: linux | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Get Dependencies | |
run: | | |
mkdir deps | |
cd deps | |
git clone https://github.com/free-audio/clap | |
git clone https://github.com/steinbergmedia/vst3sdk | |
cd vst3sdk | |
# temporary workaround, switch to vst3 sdk 3.7.7 | |
git switch --detach v3.7.7_build_19 | |
git submodule update --init --recursive | |
cd ../.. | |
- name: Build project | |
run: | | |
cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCLAP_SDK_ROOT=deps/clap -DVST3_SDK_ROOT=deps/vst3sdk -DCLAP_WRAPPER_OUTPUT_NAME=testplug | |
cmake --build ./build --config Debug | |