blob: 73a6b3cc34d7b19378c40f6a367e908b15f5c4bc [file] [log] [blame]
Zhiyi Zhang3e96a0f2020-12-21 21:13:24 -08001name: build_v03
2
3on:
4 push:
5 branches: [ v0.3 ]
6 pull_request:
7 branches: [ v0.3 ]
8
9jobs:
10 build:
11
12 runs-on: ubuntu-latest
13
14 steps:
15 - uses: actions/checkout@v2
Zhiyi Zhangf67db7b2020-12-21 21:25:26 -080016 - name: install dependencies for ndncxx
17 run: sudo apt-get install pkg-config libboost-all-dev libssl-dev libsqlite3-dev
Zhiyi Zhang49513662020-12-21 21:21:13 -080018 - name: prepare ndncxx
19 run: |
20 git clone https://github.com/named-data/ndn-cxx.git
21 cd ndn-cxx
22 ./waf configure
23 ./waf
24 ./waf install
Zhiyi Zhang3e96a0f2020-12-21 21:13:24 -080025 - name: configure
26 run: ./waf configure --with-tests
27 - name: build
28 run: ./waf
29 - name: install
30 run: ./waf install
31 - name: check
32 run: ./build/unit-tests