-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy path.azure-pipelines.yml
101 lines (93 loc) · 3.08 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
trigger:
branches:
include:
- main
parameters:
- name: juceVersions
type: object
default: [4.2.0, 4.3.1, 5.0.0, 5.2.1, 5.3.1, 5.4.3, 5.4.7, 6.0.5, 6.1.6, 7.0.7]
jobs:
- job: iOS
displayName: iOS / Xcode
pool:
vmImage: macOS-13
steps:
- template: ci/azure-pipelines/steps-iOS.yml
parameters:
juceVersions: ${{ parameters.juceVersions }}
- job: Linux_CodeBlocks
displayName: Linux / CodeBlocks - Unix Makefiles
pool:
vmImage: ubuntu-20.04
variables:
cmakeGenerator: "CodeBlocks - Unix Makefiles"
steps:
- script: >
sudo apt update && sudo apt install libxcursor-dev libxinerama-dev libxrandr-dev
displayName: Install apt packages
- script: >
sudo apt install gcc-8 g++-8
&& sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 10
&& sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 10
displayName: Install GCC 8 (old versions of JUCE don't build with GCC 9)
- template: ci/azure-pipelines/steps-Makefiles.yml
parameters:
juceVersions: ${{ parameters.juceVersions }}
- job: Linux_Make
displayName: Linux / Unix Makefiles
pool:
vmImage: ubuntu-20.04
variables:
cmakeGenerator: "Unix Makefiles"
steps:
- script: >
sudo apt update && sudo apt install gcc-8 g++-8 libasound2-dev
libcurl4-openssl-dev libxcursor-dev libxinerama-dev libxrandr-dev
libwebkit2gtk-4.0-dev
displayName: Install apt packages
- script: >
sudo apt install gcc-8 g++-8
&& sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 10
&& sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 10
displayName: Install GCC 8 (old versions of JUCE don't build with GCC 9)
- template: ci/azure-pipelines/steps-Makefiles.yml
parameters:
juceVersions: ${{ parameters.juceVersions }}
- job: macOS_Make
displayName: macOS / Unix Makefiles
pool:
vmImage: macOS-12
variables:
cmakeGenerator: "Unix Makefiles"
steps:
- template: ci/azure-pipelines/steps-Makefiles.yml
parameters:
juceVersions: ${{ parameters.juceVersions }}
- job: macOS_Xcode
displayName: macOS / Xcode
pool:
vmImage: macOS-12
steps:
- template: ci/azure-pipelines/steps-Xcode.yml
parameters:
juceVersions: ${{ parameters.juceVersions }}
- job: Windows_VS2019
displayName: Windows / Visual Studio 2019
pool:
vmImage: windows-2019
variables:
cmakeGenerator: "Visual Studio 16 2019"
steps:
- template: ci/azure-pipelines/steps-VS.yml
parameters:
juceVersions: ${{ parameters.juceVersions }}
- job: Windows_VS2022
displayName: Windows / Visual Studio 2022
pool:
vmImage: windows-2022
variables:
cmakeGenerator: "Visual Studio 17 2022"
steps:
- template: ci/azure-pipelines/steps-VS.yml
parameters:
juceVersions: ${{ parameters.juceVersions }}