-
Notifications
You must be signed in to change notification settings - Fork 3
62 lines (45 loc) · 1.49 KB
/
build.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: build.yml
on: [push, pull_request]
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup (MacOS)
if: matrix.os == 'macos-latest'
run: ./scripts/prebuild_macos.sh
- name: Setup (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: ./scripts/prebuild_ubuntu.sh
- name: Setup (Windows)
if: matrix.os == 'windows-latest'
run: cmd /c ".\scripts\prebuild_windows.bat"
- name: Build (MacOS)
if: matrix.os == 'macos-latest'
run: ./scripts/build_macos.sh
- name: Build (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: ./scripts/build_ubuntu.sh
- name: Build (Windows)
if: matrix.os == 'windows-latest'
run: cmd /c ".\scripts\build_windows.bat"
- name: Test (MacOS)
if: matrix.os == 'macos-latest'
run: ./scripts/postbuild_macos.sh
- name: Test (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: ./scripts/postbuild_ubuntu.sh
- name: Test (Windows)
if: matrix.os == 'windows-latest'
run: cmd /c ".\scripts\postbuild_windows.bat"
- name: Archive build artefacts
if: github.event_name == 'push'
uses: actions/upload-artifact@master
with:
name: StftPitchShiftPlugin-${{matrix.os}}
path: ./build/StftPitchShiftPlugin_artefacts/Release