-
Notifications
You must be signed in to change notification settings - Fork 70
39 lines (34 loc) · 1.16 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
name: Ubuntu CI
on:
workflow_dispatch:
pull_request:
jobs:
build-focal-noetic-gazebo11:
strategy:
matrix:
env:
- {ROS_DISTRO: noetic, ROS_REPO: main}
env:
UPSTREAM_WORKSPACE: extras/repos/dave_sim.repos -ds_sim
TARGET_WORKSPACE: . github:Field-Robotics-Lab/ds_sim#nps_dev
BASEDIR: ${{ github.workspace }}/.work
AFTER_SETUP_UPSTREAM_WORKSPACE: vcs pull $BASEDIR/upstream_ws/src
DOCKER_IMAGE: woensugchoi/dave:latest
TARGET_CMAKE_ARGS: >
-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=lld
-DCMAKE_SHARED_LINKER_FLAGS=-fuse-ld=lld
-DCMAKE_MODULE_LINKER_FLAGS=-fuse-ld=lld
-DCMAKE_BUILD_TYPE=Release
ADDITIONAL_DEBS: lld python3-catkin-tools python3-osrf-pycommon
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Prepare
run: |
sudo apt update;
sudo apt-get -y install cppcheck protobuf-compiler;
sed -i "s/[email protected]:/https:\/\/github.com\//g" extras/repos/dave_sim.repos
- name: Static code checking
run: sh tools/code_check.sh
- uses: 'ros-industrial/industrial_ci@master'
env: ${{ matrix.env }}