Skip to content

Commit ea3be3e

Browse files
authored
azure: add more tests (#42)
* azure: add more tests * azure: fix job name * azure: add macOS tests * azure: fix openmp with macOS * azure: update flags * azure: try openmp * azure: remove macOS
1 parent 4f822d7 commit ea3be3e

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

azure-pipelines.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,41 @@ jobs:
2424
displayName: Install clang-format
2525
- script: make clang-format
2626
displayName: Run clang-format
27+
28+
- job: linux_gcc9
29+
pool:
30+
vmImage: Ubuntu 16.04
31+
steps:
32+
- script: |
33+
sudo apt-get update -qq
34+
sudo apt-get install -qq software-properties-common
35+
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
36+
sudo apt-get update -qq
37+
sudo apt-get install -qq autoconf automake gcc-9 g++-9 make
38+
displayName: Install common
39+
- script: |
40+
./autogen.sh
41+
export DISTCHECK_CONFIGURE_FLAGS="CC=gcc-9 CXX=g++-9"
42+
./configure CC=gcc-9 CXX=g++-9
43+
make distcheck
44+
displayName: Compiling and testing ntCard with gcc 9
45+
46+
- job: linux_clang9
47+
pool:
48+
vmImage: Ubuntu 16.04
49+
steps:
50+
- script: |
51+
sudo apt-get update -qq
52+
sudo apt-get install -qq software-properties-common
53+
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
54+
sudo apt-get update -qq
55+
sudo apt-get install -qq autoconf automake gcc-9 g++-9 make
56+
displayName: Install common
57+
- script: sudo apt-get install -qq clang-9
58+
displayName: Install clang-9
59+
- script: |
60+
./autogen.sh
61+
export DISTCHECK_CONFIGURE_FLAGS="CC=clang-9 CXX=clang++-9"
62+
./configure CC=clang-9 CXX=clang++-9
63+
make distcheck
64+
displayName: Compiling and testing ntCard with clang 9

0 commit comments

Comments
 (0)