-
Notifications
You must be signed in to change notification settings - Fork 61
39 lines (36 loc) · 1.62 KB
/
indigo.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
# generated by `./generate_action_config.py indigo`
# jsk_travis
on: [push, pull_request]
jobs:
indigo:
runs-on: ubuntu-latest
name: indigo
container: jskrobotics/ros-ubuntu:14.04
steps:
- name: Install latest git ( use sudo for ros-ubuntu, remove sudo for ubuntu container), checkout@v2 uses REST API for git<2.18, which removes .git folder and does not checkout .travis submodules
run: |
(apt-get update && apt-get install -y sudo) || echo "OK"
sudo apt-get update && sudo apt-get install -y software-properties-common && sudo apt-get update && sudo add-apt-repository -y ppa:git-core/ppa && sudo apt-get update && sudo apt-get install -y git
- name: work around permission issue # https://github.com/actions/checkout/issues/760#issuecomment-1097501613
run: |
set -x
export USER=$(whoami)
git config --global --add safe.directory $GITHUB_WORKSPACE || echo "OK" # Show 'could not lock config file /github/home/.gitconfig: Permission denied', but it is ok
sudo mkdir -p /__w/
sudo chmod 777 -R /__w/
sudo chown -R $USER $HOME
- name: Checkout
uses: actions/[email protected]
with:
submodules: true
- name: Run jsk_travis
uses: jsk-ros-pkg/jsk_travis@master
with:
ROS_DISTRO : indigo
CATKIN_PARALLEL_JOBS: '-p2'
CATKIN_PARALLEL_TEST_JOBS: '-p1'
ROS_PARALLEL_JOBS: "-j2"
ROS_PARALLEL_TEST_JOBS: '-j1'
CATKIN_TOOLS_BUILD_OPTIONS: "-iv --summarize --no-status"
NOT_TEST_INSTALL: true
USE_DEB: false