Skip to content

Commit

Permalink
Merge branch 'master' into fix_long_path_crash
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada authored Jun 25, 2021
2 parents a19bdc8 + b216ad9 commit 67ca565
Show file tree
Hide file tree
Showing 9 changed files with 191 additions and 4 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/indigo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# generated by `./generate_action_config.py indigo`
# jsk_travis
on: [push, pull_request]

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

# use pip installed image due to https://github.com/jsk-ros-pkg/jsk_3rdparty/pull/237 : (Note that pip==21.0.1 is incompatible with python 2.x)
container: jskrobotics/ros-ubuntu:14.04

steps:
- name: Install latest git ( use sudo for ros-ubuntu )
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 actoins/checkout with ros-ubuntu container
run: sudo chown -R user:jenkins $RUNNER_WORKSPACE $HOME
- name: Chcekout
uses: actions/checkout@v2
- name: Start X server
run: |
sudo apt-get -y -qq install mesa-utils x11-xserver-utils xserver-xorg-video-dummy
export DISPLAY=:0
wget https://raw.githubusercontent.com/jsk-ros-pkg/jsk_travis/master/dummy.xorg.conf -O /tmp/dummy.xorg.conf
sudo Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile /tmp/xorg.log -config /tmp/dummy.xorg.conf $DISPLAY &
sleep 3 # wait x server up
export QT_X11_NO_MITSHM=1 # http://wiki.ros.org/docker/Tutorials/GUI
xhost +local:root
- name: Run jsk_travis
uses: jsk-ros-pkg/jsk_travis@master
with:
ROS_DISTRO : indigo
ROS_PARALLEL_TEST_JOBS: "-j8"
# latest catkin_virtualenv with pip==21.0.1 is incompatible with python 2.x
# https://github.com/jsk-ros-pkg/jsk_3rdparty/pull/237
BEFORE_SCRIPT : "sudo pip install virtualenv==15.1.0"
34 changes: 34 additions & 0 deletions .github/workflows/kinetic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# generated by `./generate_action_config.py kinetic`
# jsk_travis
on: [push, pull_request]

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

container: ubuntu:16.04

steps:
- name: Install latest git ( use sudo for ros-ubuntu )
run: apt-get update && apt-get install -y software-properties-common && apt-get update && add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git
- name: Chcekout
uses: actions/checkout@v2
- name: Start X server
run: |
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections # set non interactive tzdata https://stackoverflow.com/questions/8671308/non-interactive-method-for-dpkg-reconfigure-tzdata
apt-get -y -qq install mesa-utils x11-xserver-utils xserver-xorg-video-dummy wget
export DISPLAY=:0
wget https://raw.githubusercontent.com/jsk-ros-pkg/jsk_travis/master/dummy.xorg.conf -O /tmp/dummy.xorg.conf
Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile /tmp/xorg.log -config /tmp/dummy.xorg.conf $DISPLAY &
sleep 3 # wait x server up
export QT_X11_NO_MITSHM=1 # http://wiki.ros.org/docker/Tutorials/GUI
xhost +local:root
- name: Run jsk_travis
uses: jsk-ros-pkg/jsk_travis@master
with:
ROS_DISTRO : kinetic
# FIXME: kinetic test fails because of matplotlib
# see: https://github.com/matplotlib/matplotlib/issues/9789
BEFORE_SCRIPT: "pip install --user matplotlib==2.2.5"
ROS_PARALLEL_TEST_JOBS: "-j8"
31 changes: 31 additions & 0 deletions .github/workflows/melodic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# generated by `./generate_action_config.py melodic`
# jsk_travis
on: [push, pull_request]

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

container: ubuntu:18.04

steps:
- name: Install latest git ( use sudo for ros-ubuntu )
run: apt-get update && apt-get install -y software-properties-common && apt-get update && add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git
- name: Chcekout
uses: actions/checkout@v2
- name: Start X server
run: |
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections # set non interactive tzdata https://stackoverflow.com/questions/8671308/non-interactive-method-for-dpkg-reconfigure-tzdata
apt-get -y -qq install mesa-utils x11-xserver-utils xserver-xorg-video-dummy wget
export DISPLAY=:0
wget https://raw.githubusercontent.com/jsk-ros-pkg/jsk_travis/master/dummy.xorg.conf -O /tmp/dummy.xorg.conf
Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile /tmp/xorg.log -config /tmp/dummy.xorg.conf $DISPLAY &
sleep 3 # wait x server up
export QT_X11_NO_MITSHM=1 # http://wiki.ros.org/docker/Tutorials/GUI
xhost +local:root
- name: Run jsk_travis
uses: jsk-ros-pkg/jsk_travis@master
with:
ROS_DISTRO : melodic
ROS_PARALLEL_TEST_JOBS: "-j8"
31 changes: 31 additions & 0 deletions .github/workflows/noetic-full-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# generated by `./generate_action_config.py noetic`
# jsk_travis
on: [push, pull_request]

jobs:
noetic:
runs-on: ubuntu-latest
name: noetic-full-test

container: ubuntu:20.04

steps:
- name: Install latest git ( use sudo for ros-ubuntu )
run: apt-get update && apt-get install -y software-properties-common && apt-get update && add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git
- name: Chcekout
uses: actions/checkout@v2
- name: Start X server
run: |
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections # set non interactive tzdata https://stackoverflow.com/questions/8671308/non-interactive-method-for-dpkg-reconfigure-tzdata
apt-get -y -qq install mesa-utils x11-xserver-utils xserver-xorg-video-dummy wget
export DISPLAY=:0
wget https://raw.githubusercontent.com/jsk-ros-pkg/jsk_travis/master/dummy.xorg.conf -O /tmp/dummy.xorg.conf
Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile /tmp/xorg.log -config /tmp/dummy.xorg.conf $DISPLAY &
sleep 3 # wait x server up
export QT_X11_NO_MITSHM=1 # http://wiki.ros.org/docker/Tutorials/GUI
xhost +local:root
- name: Run jsk_travis
uses: jsk-ros-pkg/jsk_travis@master
with:
ROS_DISTRO : noetic
ROS_PARALLEL_TEST_JOBS: "-j8"
32 changes: 32 additions & 0 deletions .github/workflows/noetic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# generated by `./generate_action_config.py noetic`
# jsk_travis
on: [push, pull_request]

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

container: ubuntu:20.04

steps:
- name: Install latest git ( use sudo for ros-ubuntu )
run: apt-get update && apt-get install -y software-properties-common && apt-get update && add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git
- name: Chcekout
uses: actions/checkout@v2
- name: Start X server
run: |
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections # set non interactive tzdata https://stackoverflow.com/questions/8671308/non-interactive-method-for-dpkg-reconfigure-tzdata
apt-get -y -qq install mesa-utils x11-xserver-utils xserver-xorg-video-dummy wget
export DISPLAY=:0
wget https://raw.githubusercontent.com/jsk-ros-pkg/jsk_travis/master/dummy.xorg.conf -O /tmp/dummy.xorg.conf
Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile /tmp/xorg.log -config /tmp/dummy.xorg.conf $DISPLAY &
sleep 3 # wait x server up
export QT_X11_NO_MITSHM=1 # http://wiki.ros.org/docker/Tutorials/GUI
xhost +local:root
- name: Run jsk_travis
uses: jsk-ros-pkg/jsk_travis@master
with:
ROS_DISTRO : noetic
ROS_PARALLEL_TEST_JOBS: "-j8"
TEST_PKGS: "jsk_rviz_plugins"
18 changes: 18 additions & 0 deletions .github/workflows/python3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# generated by `./generate_action_config.py noetic`
# jsk_travis
on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
name: check_python3

container: ubuntu:20.04

steps:
- name: Chcekout
uses: actions/checkout@v2
- name: Check Python3
run: |
apt update -q && apt install -y -q python3
python3 -m compileall .
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
language: c++
sudo: true
dist: bionic
language: python
cache:
apt: true
pip: true
directories:
- $HOME/.ccache
- $HOME/.cache/pip
- $HOME/apt-cacher-ng
- $HOME/.ros/data
python:
- "2.7"
compiler:
- gcc
sudo: required
dist: boinc
services:
- docker
notifications:
Expand Down
1 change: 1 addition & 0 deletions jsk_rqt_plugins/test/test_rqt_plugins.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<launch>
<env name="DISPLAY" value="$(optenv DISPLAY :0.0)" /> <!-- force set DISPLAY if not found -->

<!-- rqt_2d_plot -->
<node name="pub_sample_2d_data"
Expand Down

0 comments on commit 67ca565

Please sign in to comment.