This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
89 lines (73 loc) · 2.09 KB
/
build.yaml
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
name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ubuntu_build:
runs-on: ubuntu-latest
steps:
- name: Install needed dependencies
run: sudo apt-get update && sudo apt-get install -y git cmake g++ libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libfreetype-dev libcurl4-openssl-dev libasound2-dev
env:
DEBIAN_FRONTEND: noninteractive
- name: Clone the repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup the build
run: |
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
- name: Build
working-directory: build
run: cmake --build . --config Release -j 4
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: RAVE_VST_Ubuntu
path: build/rave-vst_artefacts/Release
macos_build:
runs-on: macOS-latest
steps:
- name: Clone the repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup the build
run: |
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
- name: Build
working-directory: build
run: cmake --build . --config Release -j 4
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: RAVE_VST_MacOS
path: build/rave-vst_artefacts/Release
windows_build:
runs-on: windows-latest
steps:
- name: Clone the repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup the build
run: |
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
- name: Build
working-directory: build
run: cmake --build . --config Release -j 4
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: RAVE_VST_Windows
path: build/rave-vst_artefacts/Release