forked from microsoft/eEVM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
38 lines (30 loc) · 968 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
35
36
37
38
# 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: 'mkdir build'
displayName: Make build dir
- script: 'cmake ..'
displayName: CMake
workingDirectory: build
- script: make VERBOSE=1
displayName: Make
workingDirectory: build
- script: 'ctest -VV'
displayName: Quick test
workingDirectory: build
- script: |
./hello_world
./sum 0xa 0xb
./erc20 ../samples/erc20/ERC20_combined.json
./disassembler 0x600161123401fd
displayName: Samples
workingDirectory: build
- script: 'time TEST_DIR=../3rdparty/test_cases/ ./eevm_tests -ns -d'
displayName: Full tests
workingDirectory: build