For now, express the entire set of AUv2 options in cmake #102
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 | |
build_feature_cpm_download: | |
name: Build feature with CMake CPM Dependency Download | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Build project | |
run: | | |
cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Debug -DCLAP_WRAPPER_DOWNLOAD_DEPENDENCIES=TRUE -DCLAP_WRAPPER_BUILD_AUV2=TRUE | |
cmake --build ./build --config Debug | |