forked from surge-synthesizer/shortcircuit-xt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
87 lines (72 loc) · 1.73 KB
/
azure-pipelines.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
# Hacky secret project 3
trigger:
- main
pr:
- main
jobs:
- job: Build
strategy:
matrix:
mac:
imageName: 'macos-10.15'
isMac: True
win:
imageName: 'windows-2019'
isWindows: True
lin-18:
imageName: 'ubuntu-18.04'
isLinux: True
lin:
imageName: 'ubuntu-20.04'
isLinux: True
pool:
vmImage: $(imageName)
steps:
- checkout: self
fetchDepth: 1
# submodules: recursive # can't do submodules here b'cuz depth=1 fails with Github
- bash: |
set -e
sudo apt-get update
sudo apt-get install -y \
devscripts \
libxcb-cursor-dev \
libxcb-keysyms1-dev \
libxcb-util-dev \
libxkbcommon-dev \
libxkbcommon-x11-dev \
ninja-build \
xcb \
libgtk-3-dev \
libwebkit2gtk-4.0 \
libwebkit2gtk-4.0-dev \
libcurl4-openssl-dev \
alsa \
alsa-tools \
libasound2-dev \
libjack-dev \
libfreetype6-dev \
libxinerama-dev \
libxcb-xinerama0 \
libxinerama1 \
x11proto-xinerama-dev \
libxrandr-dev \
libgl1-mesa-dev \
libxcursor-dev \
libxcursor1 \
libxcb-cursor-dev \
libxcb-cursor0
condition: variables.isLinux
displayName: linux - run apt-get
- bash: |
git submodule update --init --recursive
displayName: Get SubModules
- bash: |
cmake -Bbuild
displayName: Run CMake
- bash: |
cmake --build build --config Debug --target sc3-installer
displayName: Build sc3-installer
- bash: |
./build/products/sc3-test
displayName: Run Tests SC3