-
Notifications
You must be signed in to change notification settings - Fork 9
/
config.yml
34 lines (34 loc) · 1 KB
/
config.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
version: 2
jobs:
build:
# Setup docker
docker:
- image: usdotfhwastol/carma-base:carma-system-3.7.0
user: carma
environment:
TERM: xterm # use xterm to get full display output from build
INIT_ENV: /home/carma/.base-image/init-env.sh
working_directory: "/opt/carma/"
# Execution steps
steps:
- run:
name: Create src folder
command: |
mkdir src
cd src
mkdir CARMAMsgs
- checkout:
path: src/CARMAMsgs
- run:
name: Build Package
command: |
source ${INIT_ENV}
export ROS_PARALLEL_JOBS='-j1 -l1' # Try to reduce memory consumption on build
catkin_make install
- run:
name: Run C++ Tests
command: |
source ${INIT_ENV}
source /opt/carma/devel/setup.bash
export ROS_PARALLEL_JOBS='-j1 -l1' # Try to reduce memory consumption on build
catkin_make run_tests