-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (27 loc) · 803 Bytes
/
ci.yml
File metadata and controls
32 lines (27 loc) · 803 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
name: CI
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: true
- run: g++ --version
- run: cmake --version
# before install
- run: sudo apt-get update -qq
- run: sudo apt-get install -y libzmq3-dev libzmq5
- run: sudo apt-get install -y libboost-all-dev
- run: sudo apt-get install -y libyaml-cpp0.6 libyaml-cpp-dev
- run: sudo apt-get install -y libcurl4-gnutls-dev
# script
- run: mkdir build
- run: cmake ..
working-directory: build
- run: make -j 4
working-directory: build
- run: ctest --output-on-failure
working-directory: build
# after success
- uses: codecov/codecov-action@v1