From 57afef9e736aada1f21dcf0d56453a9a038b66f7 Mon Sep 17 00:00:00 2001 From: Lucas Walter Date: Tue, 20 Apr 2021 18:11:27 -0700 Subject: [PATCH] Use submodules --- .github/workflows/ubuntu_20_04.yml | 8 ++++---- .gitmodules | 3 +++ core/catkin | 1 + 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 .gitmodules create mode 160000 core/catkin diff --git a/.github/workflows/ubuntu_20_04.yml b/.github/workflows/ubuntu_20_04.yml index f7a790e..1f7f19c 100644 --- a/.github/workflows/ubuntu_20_04.yml +++ b/.github/workflows/ubuntu_20_04.yml @@ -9,16 +9,16 @@ jobs: runs-on: ubuntu-20.04 # env: steps: - - uses: actions/checkout@v2 - uses: actions/checkout@v2 with: - repository: ros/catkin - ref: noetic-devel + path: ros + submodules: recursive - name: Catkin run: | + ls -l mkdir build/catkin -p cd build/catkin - cmake ../../catkin -DCATKIN_BUILD_BINARY_PACKAGE=OFF -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic -DPYTHON_EXECUTABLE=/usr/bin/python -DSETUPTOOLS_DEB_LAYOUT=OFF + cmake ../../ros/core/catkin -DCATKIN_BUILD_BINARY_PACKAGE=OFF -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic -DPYTHON_EXECUTABLE=/usr/bin/python -DSETUPTOOLS_DEB_LAYOUT=OFF make make install ls -l /opt/ros/noetic diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..fb0e403 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "core/catkin"] + path = core/catkin + url = git@github.com:ros/catkin diff --git a/core/catkin b/core/catkin new file mode 160000 index 0000000..7fa3eb3 --- /dev/null +++ b/core/catkin @@ -0,0 +1 @@ +Subproject commit 7fa3eb3508ba12c34d85b8e54bbdf4bbdc60a5c1