-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
splitting out some 22.04 docker builds, adding SUBDIR so additional w…
…orkspace will be built in 20.04 and 24.04
- Loading branch information
Showing
11 changed files
with
509 additions
and
25 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,27 @@ | ||
name: Ubuntu 22.04 Noetic ROS build from source in docker | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
ubuntu2204docker: | ||
runs-on: ubuntu-22.04 | ||
# env: | ||
steps: | ||
- name: git clone [email protected]:lucasw/ros_from_src | ||
uses: actions/checkout@v2 | ||
with: | ||
path: ros_from_src | ||
submodules: recursive | ||
|
||
# TODO(lucasw) move these 22.04 builds into separate action | ||
- name: docker build from source 22.04 | ||
run: | | ||
cd ros_from_src | ||
docker build --build-arg IMAGE=ubuntu:22.04 --build-arg PYTHON_MINOR_VERSION=10 . -t ros2204 | ||
- name: docker build from source and debian 22.04 | ||
run: | | ||
cd ros_from_src/ubuntu_2204 | ||
docker build . -t ros_debian_2204 |
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
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,25 @@ | ||
#!/bin/bash | ||
set -e | ||
set -x | ||
|
||
ls -l | ||
ls -l ros/bin | ||
ROS_DEST=`pwd`/ros source underlay_ws/env.sh | ||
|
||
WS=`pwd`/base_ws/src | ||
echo $WS | ||
|
||
cd $WS/.. | ||
echo "#####################" | ||
pwd | ||
source ../underlay_ws/install/setup.bash | ||
catkin init | ||
catkin config --install --cmake-args -DCMAKE_BUILD_TYPE=Release -Wno-deprecated -DCATKIN_ENABLE_TESTING=False | ||
echo $PATH | ||
echo $LD_LIBRARY_PATH | ||
rospack list | ||
|
||
catkin build ros_comm | ||
source install/setup.bash | ||
rospack list | ||
# TODO(lucasw) run tests |
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,17 @@ | ||
#!/bin/bash | ||
# TODO(lucasw) replace the below with submodules | ||
# export PATH=$PATH:/usr/local/bin | ||
set -e | ||
set -x | ||
|
||
WS=`pwd`/base_ws/src | ||
echo $WS | ||
mkdir $WS -p | ||
|
||
# TODO(lucasw) replace these git clones with vcs | ||
# packages that need to be cmake installed, and are ros packages in a catkin workspace | ||
cd $WS | ||
vcs import --input base_repos.yaml --retry 10 | ||
|
||
# ROSCONSOLE1=${ROSCONSOLE:-https://github.com/ros-o/rosconsole} | ||
# git clone $ROSCONSOLE1 |
Oops, something went wrong.