Fix up some build scripts #18
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 | |
build_script: win-build.sh | |
- os: macos-latest | |
build_script: mac-build.sh | |
- os: ubuntu-latest | |
build_script: linux-build.sh | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Prepare for JUCE | |
uses: surge-synthesizer/sst-githubactions/prepare-for-juce@main | |
with: | |
os: ${{ runner.os }} | |
gccversion: 9 | |
- name: Build pull request version | |
run: | | |
export SVER=`cat VERSION` | |
export GH=`git log -1 --format=%h` | |
STOCHAS_VERSION="${SVER}" ./scripts/${{ matrix.build_script }} | |
- name: Show built product | |
run: ls -l product | |