Zhiyi Zhang | 3e96a0f | 2020-12-21 21:13:24 -0800 | [diff] [blame] | 1 | name: build_v03 |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [ v0.3 ] |
| 6 | pull_request: |
| 7 | branches: [ v0.3 ] |
| 8 | |
| 9 | jobs: |
| 10 | build: |
| 11 | |
| 12 | runs-on: ubuntu-latest |
| 13 | |
| 14 | steps: |
| 15 | - uses: actions/checkout@v2 |
Zhiyi Zhang | f67db7b | 2020-12-21 21:25:26 -0800 | [diff] [blame^] | 16 | - name: install dependencies for ndncxx |
| 17 | run: sudo apt-get install pkg-config libboost-all-dev libssl-dev libsqlite3-dev |
Zhiyi Zhang | 4951366 | 2020-12-21 21:21:13 -0800 | [diff] [blame] | 18 | - 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 Zhang | 3e96a0f | 2020-12-21 21:13:24 -0800 | [diff] [blame] | 25 | - 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 |