Skip to content

Calculate stochas version more thoughtfully #16

Calculate stochas version more thoughtfully

Calculate stochas version more thoughtfully #16

Workflow file for this run

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 product