Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update travis #1107

Closed
wants to merge 15 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/hironx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
on: [push, pull_request]

jobs:
indigo:
runs-on: ubuntu-latest
name: ${{ matrix.name }}

container: ${{ matrix.container }}

strategy:
matrix:
include:
- name: indigo-work_with_downstream
ROS_DISTRO: indigo
container: jskrobotics/ros-ubuntu:14.04
EXTRA_DEB: 'ros-indigo-roslint'
TEST_TYPE: work_with_downstream
- name: indigo-work_with_315_1_10
ROS_DISTRO: indigo
container: jskrobotics/ros-ubuntu:14.04
EXTRA_DEB: 'ros-indigo-roslint'
TEST_TYPE: work_with_315_1_10
- name: melodic-work_with_downstream
ROS_DISTRO: melodic
container: jskrobotics/ros-ubuntu:18.04
EXTRA_DEB: 'ros-melodic-roslint'
TEST_TYPE: work_with_downstream
- name: melodic-work_with_315_1_10
ROS_DISTRO: melodic
container: jskrobotics/ros-ubuntu:18.04
EXTRA_DEB: 'ros-melodic-roslint'
TEST_TYPE: work_with_315_1_10

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
run: source ./.travis_test.sh
shell: bash
env:
ROS_DISTRO : ${{ matrix.ROS_DISTRO }}
CATKIN_PARALLEL_JOBS: '-p2'
CATKIN_PARALLEL_TEST_JOBS: '-p1'
ROS_PARALLEL_TEST_JOBS: '-j1'
TEST_PACKAGE: 'hironx-ros-bridge'
EXTRA_DEB: ${{ matrix.EXTRA_DEB }}
TEST_TYPE : ${{ matrix.TEST_TYPE }}
69 changes: 69 additions & 0 deletions .github/workflows/indigo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# generated by `./generate_action_config.py indigo`
# jsk_travis
on: [push, pull_request]

jobs:
indigo:
runs-on: ubuntu-latest
name: ${{ matrix.name }}
continue-on-error: ${{ matrix.continue-on-error }}

container: jskrobotics/ros-ubuntu:14.04

strategy:
matrix:
include:
- name: indigo
continue-on-error: true
USE_DEB: true
NOT_TEST_INSTALL: false
TEST_PKGS: 'hrpsys_tools openrtm_tools rosnode_rtc rtmbuild hrpsys_ros_bridge openrtm_ros_bridge'
EXTRA_DEB: ''
ADDITIONAL_ENV_TO_DOCKER: ''
IS_EUSLISP_TRAVIS_TEST: false
- name: indigo-src
continue-on-error: false
USE_DEB: false
NOT_TEST_INSTALL: true
TEST_PKGS: 'hrpsys_tools openrtm_tools rosnode_rtc rtmbuild hrpsys_ros_bridge openrtm_ros_bridge'
EXTRA_DEB: ''
ADDITIONAL_ENV_TO_DOCKER: ''
IS_EUSLISP_TRAVIS_TEST: false
- name: indigo-eustest
continue-on-error: true
USE_DEB: true
NOT_TEST_INSTALL: false
TEST_PKGS: 'hrpsys_ros_bridge'
EXTRA_DEB: 'ros-indigo-hrpsys-ros-bridge ros-indigo-pr2eus'
ADDITIONAL_ENV_TO_DOCKER: 'IS_EUSLISP_TRAVIS_TEST'
IS_EUSLISP_TRAVIS_TEST: true
- name: indigo-src-eustest
continue-on-error: false
USE_DEB: false
NOT_TEST_INSTALL: true
TEST_PKGS: 'hrpsys_ros_bridge'
EXTRA_DEB: 'ros-indigo-hrpsys-ros-bridge ros-indigo-pr2eus'
ADDITIONAL_ENV_TO_DOCKER: 'IS_EUSLISP_TRAVIS_TEST'
IS_EUSLISP_TRAVIS_TEST: true

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: '-p1'
CATKIN_PARALLEL_TEST_JOBS: '-p1'
ROS_PARALLEL_JOBS: "-j1"
ROS_PARALLEL_TEST_JOBS: '-j1'
USE_DEB: ${{ matrix.USE_DEB }}
NOT_TEST_INSTALL: ${{ matrix.NOT_TEST_INSTALL }}
TEST_PKGS: ${{ matrix.TEST_PKGS }}
EXTRA_DEB: ${{ matrix.EXTRA_DEB }}
ADDITIONAL_ENV_TO_DOCKER: ${{ matrix.ADDITIONAL_ENV_TO_DOCKER }}
IS_EUSLISP_TRAVIS_TEST: ${{ matrix.IS_EUSLISP_TRAVIS_TEST }}
84 changes: 84 additions & 0 deletions .github/workflows/kinetic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# generated by `./generate_action_config.py kinetic`
# jsk_travis
on: [push, pull_request]

jobs:
kinetic:
runs-on: ubuntu-latest
name: ${{ matrix.name }}
continue-on-error: ${{ matrix.continue-on-error }}

container: jskrobotics/ros-ubuntu:16.04

strategy:
matrix:
include:
- name: kinetic
continue-on-error: true
USE_DEB: true
NOT_TEST_INSTALL: false
TEST_PKGS: 'hrpsys_tools openrtm_tools rosnode_rtc rtmbuild hrpsys_ros_bridge openrtm_ros_bridge'
EXTRA_DEB: ''
ADDITIONAL_ENV_TO_DOCKER: ''
IS_EUSLISP_TRAVIS_TEST: false
- name: kinetic-src
continue-on-error: false
# Install libopencv-dev manually to compile hrpsys-simulator in hrpsys-base on kinetic
# Details: https://github.com/start-jsk/rtmros_common/pull/1091#issuecomment-611457804
# https://github.com/start-jsk/rtmros_common/pull/1091#issuecomment-611476618
USE_DEB: false
NOT_TEST_INSTALL: true
TEST_PKGS: 'hrpsys_tools openrtm_tools rosnode_rtc rtmbuild hrpsys_ros_bridge openrtm_ros_bridge'
EXTRA_DEB: 'libopencv-dev'
ADDITIONAL_ENV_TO_DOCKER: ''
IS_EUSLISP_TRAVIS_TEST: false
- name: kinetic-eustest
continue-on-error: true
USE_DEB: true
NOT_TEST_INSTALL: false
TEST_PKGS: 'hrpsys_ros_bridge'
EXTRA_DEB: 'ros-kinetic-hrpsys-ros-bridge ros-kinetic-pr2eus'
ADDITIONAL_ENV_TO_DOCKER: 'IS_EUSLISP_TRAVIS_TEST'
IS_EUSLISP_TRAVIS_TEST: true
- name: kinetic-src-eustest
continue-on-error: false
# Install libopencv-dev manually to compile hrpsys-simulator in hrpsys-base on kinetic
# Details: https://github.com/start-jsk/rtmros_common/pull/1091#issuecomment-611457804
# https://github.com/start-jsk/rtmros_common/pull/1091#issuecomment-611476618
USE_DEB: false
NOT_TEST_INSTALL: true
TEST_PKGS: 'hrpsys_ros_bridge'
EXTRA_DEB: 'libopencv-dev ros-kinetic-hrpsys-ros-bridge ros-kinetic-pr2eus'
ADDITIONAL_ENV_TO_DOCKER: 'IS_EUSLISP_TRAVIS_TEST'
IS_EUSLISP_TRAVIS_TEST: true
- name: kinetic-src-with-libopenni2-dev-libpcl-dev
continue-on-error: false
# To catch https://github.com/start-jsk/rtmros_common/pull/1090#issuecomment-610860446
USE_DEB: false
NOT_TEST_INSTALL: true
TEST_PKGS: 'hrpsys_tools openrtm_tools rosnode_rtc rtmbuild hrpsys_ros_bridge openrtm_ros_bridge'
EXTRA_DEB: 'libopencv-dev libopenni2-dev libpcl-dev'
ADDITIONAL_ENV_TO_DOCKER: ''
IS_EUSLISP_TRAVIS_TEST: false

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: '-p1'
CATKIN_PARALLEL_TEST_JOBS: '-p1'
ROS_PARALLEL_JOBS: "-j1"
ROS_PARALLEL_TEST_JOBS: '-j1'
USE_DEB: ${{ matrix.USE_DEB }}
NOT_TEST_INSTALL: ${{ matrix.NOT_TEST_INSTALL }}
TEST_PKGS: ${{ matrix.TEST_PKGS }}
EXTRA_DEB: ${{ matrix.EXTRA_DEB }}
ADDITIONAL_ENV_TO_DOCKER: ${{ matrix.ADDITIONAL_ENV_TO_DOCKER }}
IS_EUSLISP_TRAVIS_TEST: ${{ matrix.IS_EUSLISP_TRAVIS_TEST }}
75 changes: 75 additions & 0 deletions .github/workflows/melodic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# generated by `./generate_action_config.py melodic`
# jsk_travis
on: [push, pull_request]

jobs:
melodic:
runs-on: ubuntu-latest
name: ${{ matrix.name }}
continue-on-error: ${{ matrix.continue-on-error }}

container: jskrobotics/ros-ubuntu:18.04

strategy:
matrix:
include:
- name: melodic
continue-on-error: true
USE_DEB: true
NOT_TEST_INSTALL: false
CATKIN_TOOLS_BUILD_OPTIONS: '-iv --summarize --no-status'
TEST_PKGS: 'hrpsys_tools openrtm_tools rosnode_rtc rtmbuild hrpsys_ros_bridge openrtm_ros_bridge'
EXTRA_DEB: ''
ADDITIONAL_ENV_TO_DOCKER: ''
IS_EUSLISP_TRAVIS_TEST: false
- name: melodic-src
continue-on-error: false
USE_DEB: false
NOT_TEST_INSTALL: true
CATKIN_TOOLS_BUILD_OPTIONS: '-iv --summarize --no-status --make-args -Wno-deprecated --' # otherwise hrpsys and openhrp3 output too many warnings.
TEST_PKGS: 'hrpsys_tools openrtm_tools rosnode_rtc rtmbuild hrpsys_ros_bridge openrtm_ros_bridge'
EXTRA_DEB: ''
ADDITIONAL_ENV_TO_DOCKER: ''
IS_EUSLISP_TRAVIS_TEST: false
- name: melodic-eustest
continue-on-error: true
USE_DEB: true
NOT_TEST_INSTALL: false
CATKIN_TOOLS_BUILD_OPTIONS: '-iv --summarize --no-status'
TEST_PKGS: 'hrpsys_ros_bridge'
EXTRA_DEB: 'ros-melodic-hrpsys-ros-bridge ros-melodic-pr2eus'
ADDITIONAL_ENV_TO_DOCKER: 'IS_EUSLISP_TRAVIS_TEST'
IS_EUSLISP_TRAVIS_TEST: true
- name: melodic-src-eustest
continue-on-error: false
USE_DEB: false
NOT_TEST_INSTALL: true
CATKIN_TOOLS_BUILD_OPTIONS: '-iv --summarize --no-status --make-args -Wno-deprecated --' # otherwise hrpsys and openhrp3 output too many warnings.
TEST_PKGS: 'hrpsys_ros_bridge'
EXTRA_DEB: 'ros-melodic-hrpsys-ros-bridge ros-melodic-pr2eus'
ADDITIONAL_ENV_TO_DOCKER: 'IS_EUSLISP_TRAVIS_TEST'
IS_EUSLISP_TRAVIS_TEST: true


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 : melodic
CATKIN_PARALLEL_JOBS: '-p1'
CATKIN_PARALLEL_TEST_JOBS: '-p1'
ROS_PARALLEL_JOBS: "-j1"
ROS_PARALLEL_TEST_JOBS: '-j1'
USE_DEB: ${{ matrix.USE_DEB }}
NOT_TEST_INSTALL: ${{ matrix.NOT_TEST_INSTALL }}
CATKIN_TOOLS_BUILD_OPTIONS: ${{ matrix.CATKIN_TOOLS_BUILD_OPTIONS }}
TEST_PKGS: ${{ matrix.TEST_PKGS }}
EXTRA_DEB: ${{ matrix.EXTRA_DEB }}
ADDITIONAL_ENV_TO_DOCKER: ${{ matrix.ADDITIONAL_ENV_TO_DOCKER }}
IS_EUSLISP_TRAVIS_TEST: ${{ matrix.IS_EUSLISP_TRAVIS_TEST }}
5 changes: 3 additions & 2 deletions .travis.rosinstall
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
### latest source is checked with use_deb==source, so we're ok with released source in here
###
- git:
uri: https://github.com/tork-a/openhrp3-release
uri: https://github.com/Naoki-Hiraoka/openhrp3
local-name: openhrp3
version: for-travis
- git:
uri: https://github.com/tork-a/hrpsys-release
uri: https://github.com/fkanehiro/hrpsys-base
local-name: hrpsys
# - git:
# uri: https://github.com/tork-a/rtshell-release
Expand Down
17 changes: 0 additions & 17 deletions .travis.rosinstall.kinetic
Original file line number Diff line number Diff line change
@@ -1,17 +0,0 @@
- git:
uri: https://github.com/tork-a/openhrp3-release
version: release/kinetic/openhrp3
local-name: openhrp3
# We want to use source of released hrpsys, but building it fails when libpcl-dev and libopenni2-dev exist.
# Waiting for https://github.com/fkanehiro/hrpsys-base/pull/1242 to be released.
# Details: https://github.com/start-jsk/rtmros_common/pull/1090#issuecomment-610860446
# Don't forget to remove libopencv-dev installation from .travis.yml and README when using hrpsys-release again.
# Details: https://github.com/start-jsk/rtmros_common/pull/1091#issuecomment-611457804
# - git:
# uri: https://github.com/tork-a/hrpsys-release
# version: release/kinetic/hrpsys
# local-name: hrpsys
- git:
uri: https://github.com/fkanehiro/hrpsys-base
version: master
local-name: hrpsys
8 changes: 0 additions & 8 deletions .travis.rosinstall.melodic
Original file line number Diff line number Diff line change
@@ -1,8 +0,0 @@
- git:
uri: https://github.com/tork-a/openhrp3-release
version: release/melodic/openhrp3
local-name: openhrp3
- git:
uri: https://github.com/fkanehiro/hrpsys-base
version: master
local-name: hrpsys
Loading