forked from Tracktion/pluginval
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
67 lines (64 loc) · 1.95 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
variables:
- group: pluginval
jobs:
- job: linux
pool:
vmImage: 'Ubuntu-16.04'
steps:
- script: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y gcc-6 g++-6 freeglut3-dev g++ libasound2-dev libcurl4-openssl-dev libfreetype6-dev libjack-jackd2-dev libx11-dev libxcomposite-dev libxcursor-dev libxinerama-dev libxrandr-dev mesa-common-dev ladspa-sdk webkit2gtk-4.0 libgtk-3-dev xvfb
displayName: 'Apt install dependencies'
- script: |
Xvfb :99 &
export DISPLAY=:99
sleep 3 # give xvfb some time to start
install/build
displayName: 'Linux Build'
- task: PublishPipelineArtifact@0
inputs:
artifactName: 'Linux'
targetPath: 'bin/linux'
- script: |
rm bin/linux/*
cp CHANGELIST.md bin/linux
displayName: 'Copy change list to bin'
- task: PublishPipelineArtifact@0
inputs:
artifactName: 'Change List'
targetPath: 'bin/linux'
- job: macOS
pool:
vmImage: 'macOS-10.14'
steps:
- task: InstallAppleCertificate@2
inputs:
certSecureFile: 'Application.p12'
certPwd: '$(CERT_PASSWORD)'
keychain: 'temp'
- task: InstallAppleCertificate@2
inputs:
certSecureFile: 'Installer.p12'
certPwd: '$(CERT_PASSWORD)'
keychain: 'temp'
- script: install/build
displayName: 'macOS Build'
- script: install/notarise ../bin/mac/pluginval_macOS.zip com.tracktion.pluginval $(AC_USERNAME) $(AC_PASSWORD)
displayName: 'notarise'
- task: PublishPipelineArtifact@0
inputs:
artifactName: 'macOS'
targetPath: 'bin/mac'
- job: windows
pool:
vmImage: 'vs2017-win2016'
steps:
- bash: |
export MSBUILD_EXE="C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe"
install/build
displayName: 'Windows Build'
- task: PublishPipelineArtifact@0
inputs:
artifactName: 'Windows'
targetPath: 'bin/windows'