-
Notifications
You must be signed in to change notification settings - Fork 35
55 lines (52 loc) · 3.46 KB
/
indigo.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# 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: 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)
sudo mkdir -p /__w/
sudo chmod 777 -R /__w/
sudo chown -R $USER $HOME
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
- name: Checkout
uses: actions/checkout@v3.0.2
with:
submodules: true
# github actions cache does not work because of permission denied.
# see: https://github.com/actions/cache/issues/404
# - name: Cache several data
# uses: actions/cache@v2
# with:
# path: |
# ~/.ccache
# ~/.cache/pip
# ~/apt-cacher-ng
# ~/.ros/data
# key: ${{ github.workflow }}
- name: work around permission issue again
run: |
set -x
grep path $GITHUB_WORKSPACE/.gitmodules | sed 's/.*=//' | xargs -n 1 -I '{}' git config --global --add safe.directory $GITHUB_WORKSPACE/'{}'
- name: Run jsk_travis
uses: jsk-ros-pkg/jsk_travis@master
with:
ROS_DISTRO : indigo
ROS_PARALLEL_JOBS: "-j8"
USE_DEB: false
NOT_TEST_INSTALL: true
ROSDEP_ADDITIONAL_OPTIONS: "-n -q --ignore-src --skip-keys=jsk_smart_gui --skip-keys=ros3djs --skip-keys=pr2_calibration_launch --skip-keys=jsk_android_gui_api9 --skip-keys=ros2djs --skip-keys=face_recognition --skip-keys=roslibjs --skip-keys=force_proximity_ros --skip-keys=safe_teleop_base --skip-keys=pcl"
# XXX: hotfix for chainer problem (https://github.com/chainer/chainer/issues/8545)
BEFORE_SCRIPT: "sudo -H pip install -U numpy fcn chainercv chainer==6.7.0 gdown==4.4.0 scikit-learn==0.19.1 protobuf==3.17.3"
CATKIN_TOOLS_CONFIG_OPTIONS: "--blacklist imagesift jsk_recognition_msgs jsk_perception jsk_pcl_ros_utils jsk_pcl_ros resized_image_transport checkerboard_detector fetcheus naoqieus jsk_fetch_startup jsk_nao_startup roseus_remote jsk_robot_startup jsk_robot_utils jsk_pr2_calibration pr2_base_trajectory_action jsk_baxter_web peppereus naoeus jsk_baxter_desktop jsk_pepper_startup jsk_pr2_startup jsk_pr2_desktop"
# instance_occlsegm and grasp_fusion are excluded because of gdrive download maximum trials.
# see: https://github.com/start-jsk/jsk_apc/pull/2745
BUILD_PKGS: "jsk_apc2015_common jsk_apc2016_common jsk_arc2017_common jsk_2015_05_baxter_apc jsk_2016_01_baxter_apc jsk_arc2017_baxter selective_dualarm_stowing sphand_driver sphand_driver_msgs vl53l0x_mraa_ros baxtergv6_apc2016 baxter_paper_filing"
TEST_PKGS: "jsk_apc2015_common jsk_apc2016_common jsk_arc2017_common jsk_2015_05_baxter_apc jsk_2016_01_baxter_apc jsk_arc2017_baxter sphand_driver baxtergv6_apc2016 baxter_paper_filing"