-
Notifications
You must be signed in to change notification settings - Fork 4
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
92 changed files
with
4,064 additions
and
2,518 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
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,11 @@ | ||
brew "coreutils" | ||
brew "gnu-sed" | ||
brew "git" | ||
brew "make" | ||
brew "jpeg" | ||
brew "libpng" | ||
brew "mesalib-glw" | ||
brew "glew" | ||
brew "wget" | ||
brew "poppler" | ||
brew "bullet" |
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,126 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
env: | ||
DISPLAY: '0:0' | ||
|
||
jobs: | ||
linux: | ||
strategy: | ||
matrix: | ||
include: | ||
- DOCKER_IMAGE: ubuntu:trusty | ||
- DOCKER_IMAGE: ubuntu:xenial | ||
- DOCKER_IMAGE: ubuntu:bionic | ||
- DOCKER_IMAGE: ubuntu:focal | ||
- DOCKER_IMAGE: debian:stretch | ||
- DOCKER_IMAGE: ubuntu:trusty | ||
ROS_DISTRO: indigo | ||
- DOCKER_IMAGE: ubuntu:xenial | ||
ROS_DISTRO: kinetic | ||
- DOCKER_IMAGE: ubuntu:bionic | ||
ROS_DISTRO: meodic | ||
- DOCKER_IMAGE: ubuntu:focal | ||
ROS_DISTRO: noetic | ||
- DOCKER_IMAGE: osrf/ubuntu_armhf:trusty | ||
- DOCKER_IMAGE: osrf/ubuntu_armhf:xenial | ||
- DOCKER_IMAGE: osrf/ubuntu_arm64:trusty | ||
- DOCKER_IMAGE: osrf/ubuntu_arm64:xenial | ||
- DOCKER_IMAGE: osrf/ubuntu_arm64:bionic | ||
- DOCKER_IMAGE: osrf/ubuntu_arm64:focal | ||
- DOCKER_IMAGE: osrf/debian_arm64:stretch | ||
- DOCKER_IMAGE: amd64/debian:unstable | ||
# | ||
- QEMU: amd64 | ||
DOCKER_IMAGE: amd64/debian:unstable # amd64 | ||
- QEMU: aarch64 | ||
DOCKER_IMAGE: arm64v8/debian:buster # arm64 | ||
- QEMU: arm | ||
DOCKER_IMAGE: arm32v5/debian:jessie # armel | ||
- QEMU: arm | ||
DOCKER_IMAGE: arm32v7/debian:jessie # armhf | ||
# hppa | ||
# hurd-i386 | ||
- QEMU: i386 | ||
DOCKER_IMAGE: i386/debian:unstable # i386 | ||
- QEMU: i386 | ||
DOCKER_IMAGE: i386/debian:buster # i386 | ||
# ia64 | ||
# m68k | ||
- QEMU: mips64el | ||
DOCKER_IMAGE: loongnix/debian:buster # mips64el | ||
# mipsel | ||
# - QEMU: ppc | ||
# DOCKER_IMAGE: vicamo/debian:unstable-powerpc # powerpc / somehow failing loading eusgl | ||
- QEMU: ppc64le | ||
DOCKER_IMAGE: ppc64le/debian:buster # ppc64 | ||
# riscv64 | ||
# sh4 | ||
# sparc64 | ||
fail-fast: false | ||
|
||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
|
||
name: linux | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Run test | ||
shell: bash | ||
run: | | ||
set -x | ||
export CI_SOURCE_PATH=$(pwd) | ||
export REPOSITORY_NAME=${PWD##*/} | ||
export TRAVIS_BRANCH=${GITHUB_REF#refs/heads/} | ||
export TRAVIS_OS_NAME=linux | ||
export DOCKER_IMAGE=${{matrix.DOCKER_IMAGE}} | ||
export ROS_DISTRO=${{matrix.ROS_DISTRO}} | ||
export QEMU=${{matrix.QEMU}} | ||
export MAKEFLAGS="-j4" | ||
if [[ "$QEMU" != "" || "$DOCKER_IMAGE" == *"arm"* ]]; then sudo apt-get update -y -qq; fi | ||
if [[ "$QEMU" != "" ]]; then sudo apt-get install -y -qq qemu-user-static; ls /usr/bin/qemu-*-static; export QEMU_VOLUME="-v /usr/bin/qemu-$QEMU-static:/usr/bin/qemu-$QEMU-static" ; fi | ||
if [[ "$QEMU" != "" ]]; then docker run --rm --privileged multiarch/qemu-user-static:register; fi | ||
if [[ "$DOCKER_IMAGE" == *"arm"* ]]; then sudo apt-get install -y -qq qemu-user-static; fi | ||
if [[ "$DOCKER_IMAGE" == *"arm"* ]]; then git clone http://github.com/euslisp/jskeus ${HOME}/jskeus; fi | ||
echo "Testing branch $TRAVIS_BRANCH of $REPOSITORY_NAME on $QEMU_VOLUME" | ||
docker run --rm $QEMU_VOLUME -v $HOME:$HOME -e "QEMU=$QEMU" -e "TRAVIS_OS_NAME=$TRAVIS_OS_NAME" -e "CI_SOURCE_PATH=$CI_SOURCE_PATH" -e "HOME=$HOME" -e "MAKEFLAGS=$MAKEFLAGS" -e "DOCKER_IMAGE=$DOCKER_IMAGE" -t $DOCKER_IMAGE sh -c "cd $CI_SOURCE_PATH; ./.travis.sh" | ||
osx: | ||
runs-on: macos-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Get brew cache directory | ||
id: brew-cache | ||
run: echo "::set-output name=dir::$(brew --cache)/downloads" | ||
- name: Brew cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.brew-cache.outputs.dir }} | ||
key: ${{ runner.os }}-${{ hashFiles('.github/workflows/Brewfile') }} | ||
- name: Brew config | ||
run: | | ||
cd .github/workflows/ | ||
brew config | ||
- name: Run test | ||
shell: bash | ||
run: | | ||
set -x | ||
export CI_SOURCE_PATH=$(pwd) | ||
export REPOSITORY_NAME=${PWD##*/} | ||
export TRAVIS_BRANCH=${GITHUB_REF#refs/heads/} | ||
export TRAVIS_OS_NAME=osx | ||
export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH" | ||
export LC_CTYPE=C | ||
(cd ${HOME}; git clone --depth 1 http://github.com/euslisp/jskeus jskeus) | ||
(cd ${HOME}/jskeus; patch -f -p1 < ${CI_SOURCE_PATH}/.github/workflows/fix-dylib-location.patch || echo "OK") | ||
bash -x ./.travis.sh | ||
- name: Cleanup some brew downloads | ||
run: cd ${{ steps.brew-cache.outputs.dir }} && ls -lsS | head -n 10 | awk '{ print $10 }' | xargs rm -rf |
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,33 @@ | ||
diff --git a/irteus/irtgl.l b/irteus/irtgl.l | ||
index 4c417e61..afd606bc 100644 | ||
--- a/irteus/irtgl.l | ||
+++ b/irteus/irtgl.l | ||
@@ -51,6 +51,8 @@ | ||
(cond | ||
((probe-file "/opt/local/lib/libGL.dylib") | ||
(setq gl-lib ( load-foreign "/opt/local/lib/libGL.dylib"))) | ||
+ ((probe-file "/usr/local/lib/libGL.dylib") | ||
+ (setq gl-lib ( load-foreign "/usr/local/lib/libGL.dylib"))) | ||
(t | ||
(setq gl-lib ( load-foreign "/opt/X11/lib/libGL.dylib"))))) | ||
#+:cygwin | ||
diff --git a/irteus/irtx.l b/irteus/irtx.l | ||
index 6a6761d4..4477b6ce 100644 | ||
--- a/irteus/irtx.l | ||
+++ b/irteus/irtx.l | ||
@@ -76,9 +76,12 @@ | ||
(let (x-lib pname) | ||
#+:darwin | ||
#+:darwin | ||
- (if (probe-file "/opt/local/lib/libX11.dylib") | ||
- (setq pname "/opt/local/lib/libX11.dylib") | ||
- (setq pname "/opt/X11/lib/libX11.dylib")) | ||
+ (cond ((probe-file "/opt/local/lib/libX11.dylib") | ||
+ (setq pname "/opt/local/lib/libX11.dylib")) | ||
+ ((probe-file "/usr/local/lib/libX11.dylib") | ||
+ (setq pname "/usr/local/lib/libX11.dylib")) | ||
+ (t | ||
+ (setq pname "/opt/X11/lib/libX11.dylib"))) | ||
#+:cygwin | ||
(if (probe-file "/usr/bin/cygX11-6.dll") | ||
(setq pname "/usr/bin/cygX11-6.dll") |
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
Oops, something went wrong.