blob: f59f10ee64ea11979c8de4f326a159fc609e94ec [file] [log] [blame]
name: build_v03
on:
push:
branches: [ v0.3 ]
pull_request:
branches: [ v0.3 ]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: install dependencies for ndncxx
run: |
sudo apt-get install pkg-config libssl-dev libsqlite3-dev
wget -O boost-1.72.0-linux-18.04.tar.gz https://github.com/actions/boost-versions/releases/download/1.72.0-20200608.4/boost-1.72.0-linux-18.04-gcc-x64.tar.gz > /dev/null 2>&1
tar -xzf boost-1.72.0-linux-18.04.tar.gz
cd boost-1.72.0-linux-18.04
./bootstrap.sh > /dev/null 2>&1
sudo ./b2 install > /dev/null 2>&1
cd ..
- name: prepare ndncxx
run: |
git clone https://github.com/named-data/ndn-cxx.git
cd ndn-cxx
./waf configure
./waf
sudo ./waf install
cd ..
- name: configure
run: ./waf configure --with-tests
- name: build
run: ./waf
- name: install
run: sudo ./waf install
- name: check
run: ./build/unit-tests