-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
43 lines (41 loc) · 1.1 KB
/
azure-pipelines.yml
File metadata and controls
43 lines (41 loc) · 1.1 KB
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
# Azure Pipeline
# https://docs.microsoft.com/en-us/azure/devops/pipelines
trigger:
branches:
include:
- master
tags:
include:
- '*'
stages:
- stage: Build
jobs:
- template: jobs/build.yml
parameters:
name: Linux
platform: linux
pool:
vmImage: 'ubuntu-latest'
setupSteps:
- script: |
sudo apt-get update
sudo apt-get install -y libxrandr-dev libxinerama-dev libx11-dev libxcursor-dev libxi-dev libxext-dev libegl1-mesa-dev mesa-utils
displayName: 'Install dependencies'
- script: |
wget https://cmake.org/files/v3.18/cmake-3.18.0-Linux-x86_64.tar.gz
tar xf cmake-3.18.0-Linux-x86_64.tar.gz
mv cmake-3.18.0-Linux-x86_64 cmake-install
echo "##vso[task.prependpath]$(pwd)/cmake-install/bin"
displayName: 'Upgrade CMake'
- template: jobs/build.yml
parameters:
name: Windows
platform: win
pool:
vmImage: 'windows-latest'
- template: jobs/build.yml
parameters:
name: MacOS
platform: mac
pool:
vmImage: 'macOS-latest'