Skip to content

Commit

Permalink
Merge pull request #592 from Naoki-Hiraoka/update-travis
Browse files Browse the repository at this point in the history
travis up
  • Loading branch information
k-okada committed Jun 5, 2021
2 parents 5089794 + 576e56f commit 66f68e1
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 3 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/indigo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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: 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: Before Checkout # need for actions/checkout with ros-ubuntu container
run: sudo chown -R user:jenkins $RUNNER_WORKSPACE $HOME
- name: Checkout
uses: actions/checkout@v2
- 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
29 changes: 29 additions & 0 deletions .github/workflows/kinetic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# generated by `./generate_action_config.py kinetic`
# jsk_travis
on: [push, pull_request]

jobs:
kinetic:
runs-on: ubuntu-latest
name: kinetic

container: jskrobotics/ros-ubuntu:16.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: Before Checkout # need for actions/checkout with ros-ubuntu container
run: sudo chown -R user:jenkins $RUNNER_WORKSPACE $HOME
- name: Checkout
uses: actions/checkout@v2
- name: Run jsk_travis
uses: jsk-ros-pkg/jsk_travis@master
with:
ROS_DISTRO : kinetic
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
30 changes: 30 additions & 0 deletions .github/workflows/melodic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# generated by `./generate_action_config.py melodic`
# jsk_travis
on: [push, pull_request]

jobs:
melodic:
runs-on: ubuntu-latest
name: melodic

container: jskrobotics/ros-ubuntu:18.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: Before Checkout # need for actions/checkout with ros-ubuntu container
run: sudo chown -R user:jenkins $RUNNER_WORKSPACE $HOME
- name: Chcekout
uses: actions/checkout@v2
- name: Run jsk_travis
uses: jsk-ros-pkg/jsk_travis@master
with:
ROS_DISTRO : melodic
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
ROSDEP_ADDITIONAL_OPTIONS: "-n -q -r --ignore-src --skip-keys leap_motion" # leap_motion (run_depend of hironx_tutorial) is not released on melodic.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Generic MoveIt Travis Continuous Integration Configuration File
# Works with all MoveIt! repositories/branches
# Author: Dave Coleman, Jonathan Bohren
dist: trusty
dist: bionic
language:
- cpp
- python
Expand All @@ -11,7 +11,12 @@ python:
compiler:
- gcc
cache:
- ccache
apt: true
pip: true
directories:
- $HOME/.ccache
- $HOME/.cache/pip
- $HOME/apt-cacher-ng
env:
global:
- ROSWS=wstool
Expand Down

0 comments on commit 66f68e1

Please sign in to comment.