-
Notifications
You must be signed in to change notification settings - Fork 35
45 lines (36 loc) · 986 Bytes
/
build-pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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