add cargo building to dockerfile #5
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
name: Ubuntu 24.04 Noetic ROS build from source in docker | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
ubuntu2404: | |
runs-on: ubuntu-24.04 | |
# env: | |
steps: | |
- name: git clone [email protected]:lucasw/ros_from_src | |
uses: actions/checkout@v4 | |
with: | |
path: ros_from_src | |
submodules: recursive | |
- name: local apt dependencies | |
run: | | |
mkdir staging | |
cd staging | |
mkdir -p underlay_ws/src | |
cp ../ros_from_src/*sh underlay_ws | |
sudo underlay_ws/dependencies.sh | |
sudo ../ros_from_src/ubuntu_2404/dependencies.sh | |
- name: local git dependencies | |
run: | | |
cd staging | |
cp ../ros_from_src/*yaml underlay_ws/src | |
sed -i 's/[email protected]:/https:\/\/github.com\//' underlay_ws/src/underlay_repos.yaml | |
underlay_ws/git_clone.sh | |
- name: local build | |
run: | | |
cd staging | |
underlay_ws/build.sh | |
- name: local catkin build | |
run: | | |
cd staging | |
underlay_ws/catkin.sh |