forked from GentenStudios/Phoenix-OLD
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathazure-pipelines.yml
83 lines (74 loc) · 1.85 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
trigger:
branches:
include:
- '*' # must quote since "*" is a YAML reserved character; we want a string
pr:
autoCancel: true
branches:
include:
- '*' # must quote since "*" is a YAML reserved character; we want a string
#variables:
# CCACHE_DIR: $(Pipeline.Workspace)/.ccache
jobs:
- job:
displayName: Linux
pool:
vmImage: 'ubuntu-18.04'
strategy:
matrix:
Clang-6:
CC: clang
CXX: clang++
BuildType: Debug
SelfHost: false
CMakeArgs: ''
GCC-7:
CC: gcc-7
CXX: g++-7
BuildType: Debug
SelfHost: false
CMakeArgs: ''
steps:
# - script: |
# sudo apt-get install ccache ninja-build -y
# echo "##vso[task.prependpath]/usr/lib/ccache"
# export CCACHE_CPP2=yes
# displayName: 'Install build dependencies'
# - task: Cache@2
# inputs:
# key: 'ccache | "$(Agent.JobName)"'
# path: $(CCACHE_DIR)
# displayName: 'CCache'
- script: git submodule update --init
displayName: 'Cloning Submodules'
- script: cmake -H. -BBuild
displayName: 'CMake Configure'
- script: cmake --build Build
displayName: 'CMake Build'
- job:
displayName: Windows
pool:
vmImage: 'windows-2019'
strategy:
matrix:
64-bit Debug:
BuildType: Debug
CMakeArgs: ''
steps:
- script: git submodule update --init
displayName: 'Cloning Submodules'
- script: cmake -H. -BBuild
displayName: 'CMake Configure'
- script: cmake --build Build
displayName: 'CMake Build'
- job:
displayName: MacOSX
pool:
vmImage: 'macOS-latest'
steps:
- script: git submodule update --init
displayName: 'Cloning Submodules'
- script: cmake -H. -BBuild
displayName: 'CMake Configure'
- script: cmake --build Build
displayName: 'CMake Build'