forked from microsoft/eEVM
/
azure-pipelines.yml
34 lines (26 loc) · 987 Bytes
/
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
# 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
pool:
vmImage: 'Ubuntu 16.04'
## NB: CI will currently fail as the gcc version 16.04 does not have full C++17 support
## Need to investigate using a custom Docker image
steps:
- script: |
cd /tmp/ && wget https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.gz && tar -xf /tmp/boost_1_67_0.tar.gz
displayName: Get Boost 1.67
- script: 'mkdir build'
displayName: Make build dir
- script: 'BOOST_ROOT=/tmp/boost_1_67_0/ cmake ..'
displayName: CMake
workingDirectory: build
- script: make VERBOSE=1
displayName: Make
workingDirectory: build
- script: 'make test'
displayName: Quick test
workingDirectory: build
- script: 'time TEST_DIR=../3rdparty/test_cases/ ./evm_tests -ns -d'
displayName: Full tests
workingDirectory: build