blob: 8c12603aab43c6ece1d7936d989b85508c172003 [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
Zhiyi Zhangb8f616f2020-12-21 21:33:07 -080024 sudo ./waf install
25 cd ..
Zhiyi Zhang3e96a0f2020-12-21 21:13:24 -080026 - name: configure
27 run: ./waf configure --with-tests
28 - name: build
29 run: ./waf
30 - name: install
Zhiyi Zhangb8f616f2020-12-21 21:33:07 -080031 run: sudo ./waf install
Zhiyi Zhang3e96a0f2020-12-21 21:13:24 -080032 - name: check
33 run: ./build/unit-tests