-
Notifications
You must be signed in to change notification settings - Fork 9
/
azure-pipelines.yml
63 lines (61 loc) · 2.02 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
jobs:
- job: linux
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
sudo apt-get update -qq
sudo apt-get install -qq software-properties-common
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update -qq
sudo apt-get install -qq autoconf automake gcc g++ make
displayName: Install common
- script: |
./autogen.sh
./configure
make distcheck
displayName: Compiling and testing ntCard
- script: |
curl https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main"
sudo apt-get update
sudo apt-get install -y --no-install-recommends clang-format
displayName: Install clang-format
- script: make clang-format
displayName: Run clang-format
- job: linux_gcc9
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
sudo apt-get update -qq
sudo apt-get install -qq software-properties-common
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update -qq
sudo apt-get install -qq autoconf automake gcc-9 g++-9 make
displayName: Install common
- script: |
./autogen.sh
export DISTCHECK_CONFIGURE_FLAGS="CC=gcc-9 CXX=g++-9"
./configure CC=gcc-9 CXX=g++-9
make distcheck
displayName: Compiling and testing ntCard with gcc 9
- job: linux_clang9
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
sudo apt-get update -qq
sudo apt-get install -qq software-properties-common
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update -qq
sudo apt-get install -qq autoconf automake gcc-9 g++-9 make
displayName: Install common
- script: sudo apt-get install -qq clang-9
displayName: Install clang-9
- script: |
./autogen.sh
export DISTCHECK_CONFIGURE_FLAGS="CC=clang-9 CXX=clang++-9"
./configure CC=clang-9 CXX=clang++-9
make distcheck
displayName: Compiling and testing ntCard with clang 9