-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
36 lines (31 loc) · 841 Bytes
/
azure-pipelines.yml
File metadata and controls
36 lines (31 loc) · 841 Bytes
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
# C/C++ with GCC
# Build your C/C++ project with GCC using make.
# Add steps that publish test results, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc
trigger:
- main
jobs:
- job: 'Linux_OSX'
strategy:
matrix:
macOS:
compiler: clang++
image_name: 'macOS-latest'
linux:
compiler: 'g++-11'
image_name: 'ubuntu-latest'
pool:
vmImage: $(image_name)
variables:
CXX: $(compiler)
timeoutInMinutes: 360
steps:
- bash: |
echo "##vso[task.prependpath]$CONDA/bin"
sudo chown -R $USER $CONDA
displayName: Add conda to PATH
- bash: |
source ./init.sh
make -j2
cd bin && ./inverse
displayName: Init and build