-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
49 lines (48 loc) · 1.68 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
# Pipelines are made of one or more jobs and may include resources and variables.
# Jobs are made of one or more steps plus some job-specific data. Steps can be
# tasks, scripts, or references to external templates.
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-18.04'
strategy:
maxParallel: 2
steps:
# NOTE: On Linux, there is no write permission in the miniconda installation
# directory. Therefore we need to create our own conda environment from scratch.
- script: |
mkdir build || exit 1
cd build || exit 1
echo "Will start the cmake configuration" || exit 1
cmake .. || exit 1
echo "Will start the cmake based build" || exit 1
cmake --build . --config Release || exit 1
echo "Completed script successfully" || exit 1
- job: macOS
pool:
vmImage: 'macOS-latest'
strategy:
maxParallel: 2
steps:
- script: |
mkdir build || exit 1
cd build || exit 1
echo "Will start the cmake configuration" || exit 1
cmake .. || exit 1
echo "Will start the cmake based build" || exit 1
cmake --build . --config Release || exit 1
echo "Completed script successfully" || exit 1
- job: Windows
pool:
vmImage: 'windows-latest'
strategy:
maxParallel: 2
steps:
- script: |
mkdir build || exit 1
cd build || exit 1
echo "Will start the cmake configuration" || exit 1
cmake .. || exit 1
echo "Will start the cmake based build" || exit 1
cmake --build . --config Release || exit 1
echo "Completed script successfully" || exit 1