Add a PR action #2
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: Build Pull Request | |
on: | |
pull_request: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build_plugin: | |
name: PR - ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: windows-latest | |
- os: macos-latest | |
- os: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Prepare for JUCE (which helps with VSTGUI) | |
uses: surge-synthesizer/sst-githubactions/prepare-for-juce@main | |
with: | |
os: ${{ runner.os }} | |
- name: VSGTUI Extras for Linux | |
if: ${{ runner.os }} == "Linux" | |
run: | | |
sudo apt-get install -u libxcb-util-dev | |
- name: Build pull request version | |
run: | | |
cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Debug | |
cmake --build ./build --config Debug --target clap-saw-demo --parallel 3 |