forked from pantor/frankx
-
Notifications
You must be signed in to change notification settings - Fork 9
57 lines (48 loc) · 1.3 KB
/
ci.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install apt dependencies
run: |
sudo apt-get update
sudo apt-get -y install build-essential cmake git libpoco-dev catch2 python3-dev
- name: Install Eigen3
run: |
git clone https://gitlab.com/libeigen/eigen.git
cd eigen
git checkout 3.4.0
mkdir build && cd build
cmake ..
sudo make install
- name: Install libfranka
run: |
git clone --recursive https://github.com/frankaemika/libfranka.git
cd libfranka
git checkout 0.9.0
git submodule update
mkdir build && cd build
cmake -DBUILD_TESTS=OFF -DBUILD_EXAMPLES=OFF ..
make -j2
sudo make install
- name: Install pybind11
run: |
git clone https://github.com/pybind/pybind11.git
cd pybind11
git checkout v2.9.1
mkdir build && cd build
cmake -DPYBIND11_TEST=OFF ..
make -j2
sudo make install
- name: Configure & make
run: |
mkdir build && cd build
cmake ..
make -j2
- name: Test
run: make test