-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathazure-pipelines-linux-gcc.yml
More file actions
36 lines (33 loc) · 1001 Bytes
/
azure-pipelines-linux-gcc.yml
File metadata and controls
36 lines (33 loc) · 1001 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
35
36
jobs:
- job: 'Linux_1'
strategy:
matrix:
gcc_6:
gcc_version: '6'
disable_xsimd: 1
gcc_7:
gcc_version: '7'
gcc_8:
gcc_version: '8'
gcc_8_cpp17:
gcc_version: '8'
enable_cpp17: 1
gcc_9:
gcc_version: '9'
pool:
vmImage: ubuntu-18.04
variables:
CC: gcc-$(gcc_version)
CXX: g++-$(gcc_version)
timeoutInMinutes: 360
steps:
- script: |
if [[ $(gcc_version) == '4.9' || $(gcc_version) == '6' || $(gcc_version) == '7' || $(gcc_version) == '8' ]]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get --no-install-suggests --no-install-recommends install g++-$(gcc_version)
fi
displayName: Install build toolchain
- bash: echo "##vso[task.prependpath]$CONDA/bin"
displayName: Add conda to PATH
- template: unix-build.yml