forked from hsstraub/TerpstraSysEx.2014
-
Notifications
You must be signed in to change notification settings - Fork 2
98 lines (87 loc) · 3.21 KB
/
build-lte.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
name: Build Lumatone Editor
on: [push, pull_request]
env: {}
jobs:
build-lte-linux:
name: Build Lumatone Editor (Linux)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install JUCE to $HOME
run: |
wget https://github.com/juce-framework/JUCE/releases/download/6.1.6/juce-6.1.6-linux.zip
unzip -d ~ juce-6.1.6-linux.zip
- name: Install APT dependencies
run: |
sudo apt update
sudo apt install libssh2-1-dev libasound2-dev libjack-jackd2-dev ladspa-sdk libcurl4-openssl-dev libfreetype6-dev libx11-dev libxcomposite-dev libxcursor-dev libxcursor-dev libxext-dev libxinerama-dev libxrandr-dev libxrender-dev libwebkit2gtk-4.0-dev libglu1-mesa-dev mesa-common-dev
- name: Build Lumatone Editor
run: |
~/JUCE/Projucer --resave TerpstraSysEx.jucer
cd Builds/Linux
make CONFIG=Release
- name: List build directory
run: |
cd Builds/Linux
find
- name: Upload Lumatone Editor
uses: actions/upload-artifact@v2
with:
name: LumatoneEditor-Linux
path: Builds/Linux/build/Lumatone\ Editor
if-no-files-found: error
build-lte-macos:
name: Build Lumatone Editor (macOS)
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install JUCE to $HOME
run: |
wget https://github.com/juce-framework/JUCE/releases/download/6.1.6/juce-6.1.6-osx.zip
unzip -d ~ juce-6.1.6-osx.zip
- name: Build Lumatone Editor
run: |
~/JUCE/Projucer.app/Contents/MacOS/Projucer --resave TerpstraSysEx.jucer
cd Builds/MacOSX
xcodebuild -configuration Release
- name: List build directory
run: |
cd Builds/MacOSX
find .
- name: Upload Lumatone Editor
uses: actions/upload-artifact@v2
with:
name: LumatoneEditor-macOS
path: Builds/MacOSX/build/Release
if-no-files-found: error
build-lte-windows:
name: Build Lumatone Editor (Windows)
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: microsoft/[email protected]
- name: Install JUCE to C:\
run: |
Invoke-WebRequest https://github.com/juce-framework/JUCE/releases/download/6.1.6/juce-6.1.6-windows.zip -OutFile juce-6.1.6-windows.zip
7z x juce-6.1.6-windows.zip -oC:\
- name: Build Lumatone Editor
run: |
bash -c '/c/JUCE/Projucer --resave TerpstraSysEx.jucer'
cd Builds/VisualStudio2019
msbuild "Lumatone Editor.sln" /p:configuration=Release
- name: List build directory
run: |
cd Builds/VisualStudio2019
Get-ChildItem -Recurse
- name: Upload Lumatone Editor
uses: actions/upload-artifact@v2
with:
name: LumatoneEditor-Windows
path: "Builds/VisualStudio2019/x64/Release/App/Lumatone Editor.exe"
if-no-files-found: error
- name: Upload dynamic libraries
uses: actions/upload-artifact@v2
with:
name: LumatoneEditor-Windows
path: Libraries/win64/bin/*.dll
if-no-files-found: error