-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
125 changed files
with
1,075 additions
and
366 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
env: | ||
DISPLAY: ':0.0' | ||
|
||
jobs: | ||
ros: | ||
runs-on: ubuntu-latest | ||
continue-on-error: false | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- ROS_DISTRO: indigo | ||
CONTAINER: jskrobotics/ros-ubuntu:14.04 | ||
BEFORE_SCRIPT : "sudo pip install virtualenv==15.1.0" | ||
NOT_TEST_INSTALL: true | ||
- ROS_DISTRO: kinetic | ||
CONTAINER: ubuntu:16.04 | ||
BEFORE_SCRIPT: "pip install --user matplotlib==2.2.5" | ||
- ROS_DISTRO: melodic | ||
CONTAINER: ubuntu:18.04 | ||
- ROS_DISTRO: noetic | ||
CONTAINER: ubuntu:20.04 | ||
- ROS_DISTRO: noetic | ||
CONTAINER: ubuntu:20.04 | ||
BEFORE_SCRIPT: "pip3 install -U --user pyyaml" | ||
|
||
container: ${{ matrix.CONTAINER }} | ||
steps: | ||
- name: Install latest git ( use sudo for ros-ubuntu ) | ||
run: | | ||
[ -e /etc/apt/sources.list.d/ubuntu-esm-infra-$(lsb_release -cs).list ] && sudo rm /etc/apt/sources.list.d/ubuntu-esm-infra-$(lsb_release -cs).list ## fix Err https://esm.ubuntu.com trusty-infra-security/main amd64 Packages, gnutls_handshake() failed: Handshake failed | ||
(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 -E 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) | ||
if [ "${{ matrix.CONTAINER }}" = "jskrobotics/ros-ubuntu:14.04" ]; then | ||
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 | ||
sudo mkdir -p /__w/_temp/_runner_file_commands/ | ||
sudo chown -R $USER /__w/_temp/_runner_file_commands/ | ||
# sudo mkdir -p /home/runner/work/_temp/_github_workflow/ | ||
# sudo chown -R $USER $HOME /home/runner/work/_temp/_github_workflow/ | ||
# ls -al /home/runner/work/_temp/_github_workflow/ | ||
else | ||
git config --global --add safe.directory $GITHUB_WORKSPACE | ||
fi | ||
- name: Chcekout | ||
uses: actions/[email protected] | ||
with: | ||
submodules: true | ||
|
||
- name: Cache Download Data | ||
uses: actions/[email protected] | ||
with: | ||
path: /github/home/.ros/data/jsk_rviz_plugins | ||
key: jsk_rviz_plugins | ||
|
||
- name: Start X server | ||
run: | | ||
if [[ "${{ matrix.CONTAINER }}" =~ "jskrobotics/ros-ubuntu:14.04" ]]; then exit 0; fi | ||
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections || echo "failing on ros-ubuntu is OK" # set non interactive tzdata https://stackoverflow.com/questions/8671308/non-interactive-method-for-dpkg-reconfigure-tzdata | ||
sudo 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 | ||
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 | ||
shell: bash | ||
|
||
- name: Start X server (for 14.04) | ||
run: | | ||
if [[ "${{ matrix.CONTAINER }}" =~ "jskrobotics/ros-ubuntu:14.04" ]]; then | ||
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections || echo "failing on ros-ubuntu is OK" # set non interactive tzdata https://stackoverflow.com/questions/8671308/non-interactive-method-for-dpkg-reconfigure-tzdata | ||
export DISPLAY=:0 | ||
sudo apt-get install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 | ||
sudo apt-get install -y x11-xserver-utils # for xhost | ||
sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 & | ||
sleep 3 # wait x server up | ||
export QT_X11_NO_MITSHM=1 # http://wiki.ros.org/docker/Tutorials/GUI | ||
xhost +local:root | ||
fi | ||
shell: bash | ||
|
||
- name: Run jsk_travis | ||
uses: jsk-ros-pkg/jsk_travis@master | ||
with: | ||
ROS_PARALLEL_JOBS : "-j8" | ||
CATKIN_PARALLEL_JOBS : "-p8" | ||
ROS_PARALLEL_TEST_JOBS : "-j8" | ||
CATKIN_PARALLEL_TEST_JOBS : "-p8" | ||
BEFORE_SCRIPT : ${{ matrix.BEFORE_SCRIPT }} | ||
ROS_DISTRO : ${{ matrix.ROS_DISTRO }} | ||
USE_DEB : ${{ matrix.USE_DEB }} | ||
NOT_TEST_INSTALL : ${{ matrix.NOT_TEST_INSTALL }} | ||
TEST_PKGS : ${{ matrix.TEST_PKGS }} | ||
EXTRA_DEB : ${{ matrix.EXTRA_DEB }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule ".travis"] | ||
path = .travis | ||
url = git://github.com/jsk-ros-pkg/jsk_travis | ||
url = https://github.com/jsk-ros-pkg/jsk_travis.git |
Submodule .travis
updated
18 files
+26 −3 | .github/workflows/generate_action_config.py | |
+10 −4 | .github/workflows/indigo.yml | |
+10 −4 | .github/workflows/kinetic.yml | |
+43 −2 | .github/workflows/main.yml | |
+10 −4 | .github/workflows/melodic.yml | |
+10 −4 | .github/workflows/noetic.yml | |
+18 −0 | .github/workflows/python2.yml | |
+0 −1 | .travis.yml | |
+44 −0 | CHANGELOG.rst | |
+1 −0 | CMakeLists.txt | |
+6 −1 | action.yml | |
+3 −1 | docker.sh | |
+1 −0 | docker/Dockerfile.ros-ubuntu:12.04 | |
+5 −0 | docker/Dockerfile.ros-ubuntu:14.04-pcl1.8 | |
+3 −1 | package.xml | |
+18 −0 | test/test_lxml.py | |
+19 −6 | travis.sh | |
+14 −1 | travis_jenkins.py |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<package> | ||
<name>jsk_interactive</name> | ||
<version>2.1.7</version> | ||
<version>2.1.8</version> | ||
<description>jsk_interactive</description> | ||
<maintainer email="[email protected]">Yusuke Furuta</maintainer> | ||
|
||
|
Oops, something went wrong.