-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #515 from goldbattle/dockerfile
Ubuntu 20.04 and CI Dockerfiles
- Loading branch information
Showing
167 changed files
with
2,467 additions
and
1,529 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,23 @@ | ||
name: "ROS1 Ubuntu 16.04" | ||
|
||
on: | ||
push: | ||
branches: [ master, dockerfile ] | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Code Checkout | ||
uses: actions/checkout@v2 | ||
- name: Create Workspace | ||
run: | | ||
export REPO=$(basename $GITHUB_REPOSITORY) && | ||
cd $GITHUB_WORKSPACE/.. && mkdir src/ && | ||
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/ | ||
- name: Build Docker | ||
run: | | ||
export REPO=$(basename $GITHUB_REPOSITORY) && | ||
docker build -t kalibr -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros1_16_04 . | ||
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,23 @@ | ||
name: "ROS1 Ubuntu 18.04" | ||
|
||
on: | ||
push: | ||
branches: [ master, dockerfile ] | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Code Checkout | ||
uses: actions/checkout@v2 | ||
- name: Create Workspace | ||
run: | | ||
export REPO=$(basename $GITHUB_REPOSITORY) && | ||
cd $GITHUB_WORKSPACE/.. && mkdir src/ && | ||
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/ | ||
- name: Build Docker | ||
run: | | ||
export REPO=$(basename $GITHUB_REPOSITORY) && | ||
docker build -t kalibr -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros1_18_04 . | ||
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,23 @@ | ||
name: "ROS1 Ubuntu 20.04" | ||
|
||
on: | ||
push: | ||
branches: [ master, dockerfile ] | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Code Checkout | ||
uses: actions/checkout@v2 | ||
- name: Create Workspace | ||
run: | | ||
export REPO=$(basename $GITHUB_REPOSITORY) && | ||
cd $GITHUB_WORKSPACE/.. && mkdir src/ && | ||
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/ | ||
- name: Build Docker | ||
run: | | ||
export REPO=$(basename $GITHUB_REPOSITORY) && | ||
docker build -t kalibr -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros1_20_04 . | ||
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,26 @@ | ||
name: CI | ||
|
||
# This determines when this workflow is run | ||
on: [push, pull_request] # on all pushes and PRs | ||
|
||
jobs: | ||
CI: | ||
strategy: | ||
matrix: | ||
env: | ||
- {ROS_DISTRO: melodic} | ||
- {ROS_DISTRO: noetic} | ||
env: | ||
CCACHE_DIR: /github/home/.ccache # Enable ccache | ||
NOT_TEST_BUILD: true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
# This step will fetch/store the directory used by ccache before/after the ci run | ||
- uses: actions/cache@v2 | ||
with: | ||
path: ${{ env.CCACHE_DIR }} | ||
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }} | ||
# Run industrial_ci | ||
- uses: 'ros-industrial/industrial_ci@master' | ||
env: ${{ matrix.env }} |
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 |
---|---|---|
|
@@ -44,3 +44,9 @@ CMakeLists.txt.user | |
|
||
# MacOS Desktop Services Store | ||
.DS_Store | ||
|
||
# Jetbrains Clion | ||
cmake-build-* | ||
.idea | ||
build | ||
Build |
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,56 @@ | ||
FROM osrf/ros:kinetic-desktop-full | ||
|
||
|
||
# Dependencies we use, catkin tools is very good build system | ||
# https://github.com/ethz-asl/kalibr/wiki/installation | ||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive \ | ||
apt-get install -y \ | ||
git wget autoconf automake \ | ||
python2.7-dev python-pip python-scipy python-matplotlib \ | ||
ipython python-wxgtk3.0 python-tk python-igraph \ | ||
libeigen3-dev libboost-all-dev libsuitesparse-dev \ | ||
doxygen \ | ||
libopencv-dev \ | ||
libpoco-dev libtbb-dev libblas-dev liblapack-dev libv4l-dev \ | ||
python-catkin-tools | ||
|
||
|
||
# Create the workspace and build kalibr in it | ||
ENV WORKSPACE /catkin_ws | ||
|
||
RUN mkdir -p $WORKSPACE/src && \ | ||
cd $WORKSPACE && \ | ||
catkin init && \ | ||
catkin config --extend /opt/ros/kinetic && \ | ||
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release | ||
|
||
ADD . $WORKSPACE/src/kalibr | ||
# RUN cd $WORKSPACE/src &&\ | ||
# git clone https://github.com/ori-drs/kalibr.git | ||
|
||
RUN cd $WORKSPACE &&\ | ||
catkin build -j$(nproc) | ||
|
||
|
||
# When a user runs a command we will run this code before theirs | ||
# This will allow for using the manual focal length if it fails to init | ||
# https://github.com/ethz-asl/kalibr/pull/346 | ||
ENTRYPOINT export KALIBR_MANUAL_FOCAL_LENGTH_INIT=1 && \ | ||
# /bin/bash -c "source \"$WORKSPACE/devel/setup.bash\"" && \ | ||
cd $WORKSPACE && \ | ||
/bin/bash | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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,50 @@ | ||
FROM osrf/ros:melodic-desktop-full | ||
|
||
|
||
# Dependencies we use, catkin tools is very good build system | ||
# https://github.com/ethz-asl/kalibr/wiki/installation | ||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive \ | ||
apt-get install -y \ | ||
git wget autoconf automake nano \ | ||
python3-dev python-pip python-scipy python-matplotlib \ | ||
ipython python-wxgtk4.0 python-tk python-igraph \ | ||
libeigen3-dev libboost-all-dev libsuitesparse-dev \ | ||
doxygen \ | ||
libopencv-dev \ | ||
libpoco-dev libtbb-dev libblas-dev liblapack-dev libv4l-dev \ | ||
python-catkin-tools | ||
|
||
|
||
# Create the workspace and build kalibr in it | ||
ENV WORKSPACE /catkin_ws | ||
|
||
RUN mkdir -p $WORKSPACE/src && \ | ||
cd $WORKSPACE && \ | ||
catkin init && \ | ||
catkin config --extend /opt/ros/melodic && \ | ||
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release | ||
|
||
ADD . $WORKSPACE/src/kalibr | ||
# RUN cd $WORKSPACE/src &&\ | ||
# git clone https://github.com/ori-drs/kalibr.git | ||
|
||
RUN cd $WORKSPACE &&\ | ||
catkin build -j$(nproc) | ||
|
||
|
||
# When a user runs a command we will run this code before theirs | ||
# This will allow for using the manual focal length if it fails to init | ||
# https://github.com/ethz-asl/kalibr/pull/346 | ||
ENTRYPOINT export KALIBR_MANUAL_FOCAL_LENGTH_INIT=1 && \ | ||
# /bin/bash -c "source \"$WORKSPACE/devel/setup.bash\"" && \ | ||
cd $WORKSPACE && \ | ||
/bin/bash | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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,46 @@ | ||
FROM osrf/ros:noetic-desktop-full | ||
|
||
|
||
# Dependencies we use, catkin tools is very good build system | ||
# https://github.com/ethz-asl/kalibr/wiki/installation | ||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive \ | ||
apt-get install -y \ | ||
git wget autoconf automake nano \ | ||
python3-dev python3-pip python3-scipy python3-matplotlib \ | ||
ipython3 python3-wxgtk4.0 python3-tk python3-igraph \ | ||
libeigen3-dev libboost-all-dev libsuitesparse-dev \ | ||
doxygen \ | ||
libopencv-dev \ | ||
libpoco-dev libtbb-dev libblas-dev liblapack-dev libv4l-dev \ | ||
python3-catkin-tools python3-osrf-pycommon | ||
|
||
|
||
# Create the workspace and build kalibr in it | ||
ENV WORKSPACE /catkin_ws | ||
|
||
RUN mkdir -p $WORKSPACE/src && \ | ||
cd $WORKSPACE && \ | ||
catkin init && \ | ||
catkin config --extend /opt/ros/noetic && \ | ||
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release | ||
|
||
ADD . $WORKSPACE/src/kalibr | ||
# RUN cd $WORKSPACE/src &&\ | ||
# git clone https://github.com/ori-drs/kalibr.git | ||
|
||
RUN cd $WORKSPACE &&\ | ||
catkin build -j$(nproc) | ||
|
||
|
||
# When a user runs a command we will run this code before theirs | ||
# This will allow for using the manual focal length if it fails to init | ||
# https://github.com/ethz-asl/kalibr/pull/346 | ||
ENTRYPOINT export KALIBR_MANUAL_FOCAL_LENGTH_INIT=1 && \ | ||
# /bin/bash -c "source \"$WORKSPACE/devel/setup.bash\"" && \ | ||
cd $WORKSPACE && \ | ||
/bin/bash | ||
|
||
|
||
|
||
|
||
|
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
2 changes: 2 additions & 0 deletions
2
Schweizer-Messer/numpy_eigen/cmake/numpy_eigen-extras.cmake.in
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,2 @@ | ||
find_package(Eigen3 REQUIRED) | ||
include_directories(${EIGEN3_INCLUDE_DIRS}) |
Oops, something went wrong.