-
Notifications
You must be signed in to change notification settings - Fork 3
34 lines (29 loc) · 1019 Bytes
/
rpmplv2.yaml
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
name: Build with CMake (Linux)
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt update && sudo apt upgrade && sudo apt install -y libunwind-dev apt-transport-https \
ca-certificates curl wget gnupg make cmake lsb-release software-properties-common \
libeigen3-dev libkdl-parser-dev libgflags-dev libgoogle-glog-dev liborocos-kdl-dev \
libgtest-dev libyaml-cpp-dev liburdf-dev python3-pip libfcl-dev libnanoflann-dev \
&& pip3 install trimesh urdfpy
shell: bash
- name: Configure with CMake
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Release
- name: Build
run: |
cmake --build build --config Release
- name: Test (optional)
run: |
if [ -d build/tests ]; then
ctest --test-dir build/tests -C Release --output-on-failure
fi