-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate into one CI action, update gitignore, comment out moveit …
…for now, fix dockerfile, add ci catkin profile, format package.xml, misc stuff
- Loading branch information
Showing
14 changed files
with
231 additions
and
235 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,39 @@ | ||
name: CI | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
ci: | ||
name: CI | ||
runs-on: ubuntu-latest | ||
container: | ||
image: umrover1/ros:latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: "true" | ||
# This makes sure that $GITHUB_WORKSPACE is the catkin workspace path | ||
path: "src/mrover" | ||
- name: Ensure Python Requirements | ||
run: . /home/mrover/catkin_ws/src/mrover/venv/bin/activate && pip install -e "$GITHUB_WORKSPACE/src/mrover[dev]" | ||
- name: Style Check | ||
run: . /home/mrover/catkin_ws/src/mrover/venv/bin/activate && cd $GITHUB_WORKSPACE/src/mrover/ && ./style.sh | ||
- name: Ensure APT Requirements | ||
if: github.event.pull_request.draft == false | ||
run: rosdep update && rosdep install --from-paths "$GITHUB_WORKSPACE/src" --ignore-src -r -y --rosdistro noetic | ||
- name: Copy Catkin Profiles | ||
if: github.event.pull_request.draft == false | ||
run: rsync -r $GITHUB_WORKSPACE/src/mrover/ansible/roles/build/files/profiles $GITHUB_WORKSPACE/.catkin_tools | ||
- name: Initialize | ||
if: github.event.pull_request.draft == false | ||
run: . /opt/ros/noetic/setup.sh && catkin init && catkin profile set ci | ||
- name: Build | ||
if: github.event.pull_request.draft == false | ||
run: . /opt/ros/noetic/setup.sh && . /home/mrover/catkin_ws/src/mrover/venv/bin/activate && catkin build | ||
- name: Test | ||
if: github.event.pull_request.draft == false | ||
run: . /opt/ros/noetic/setup.sh && . /home/mrover/catkin_ws/src/mrover/venv/bin/activate && . $GITHUB_WORKSPACE/devel/setup.sh && catkin test -j1 |
This file was deleted.
Oops, something went wrong.
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,27 @@ | ||
authors: [ ] | ||
blacklist: [ ] | ||
build_space: build | ||
catkin_make_args: [ ] | ||
cmake_args: | ||
- -DCMAKE_BUILD_TYPE=Release | ||
- -DCMAKE_CXX_FLAGS=-pipe | ||
- -DCMAKE_C_COMPILER=clang-16 | ||
- -DCMAKE_CXX_COMPILER=clang++-16 | ||
- -DCMAKE_CXX_CLANG_TIDY=clang-tidy-16 | ||
devel_layout: linked | ||
devel_space: devel | ||
extend_path: null | ||
extends: null | ||
install: false | ||
install_space: install | ||
isolate_install: false | ||
jobs_args: [ ] | ||
licenses: | ||
- TODO | ||
log_space: logs | ||
maintainers: [ ] | ||
make_args: [ ] | ||
source_space: src | ||
use_env_cache: false | ||
use_internal_make_jobserver: true | ||
whitelist: [ ] |
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 |
---|---|---|
@@ -1,28 +1,28 @@ | ||
authors: [] | ||
blacklist: [] | ||
authors: [ ] | ||
blacklist: [ ] | ||
build_space: build | ||
catkin_make_args: [] | ||
catkin_make_args: [ ] | ||
cmake_args: | ||
- -DCMAKE_BUILD_TYPE=Debug | ||
- -DCMAKE_CXX_FLAGS=-pipe | ||
- -DCMAKE_C_COMPILER=clang-16 | ||
- -DCMAKE_CXX_COMPILER=clang++-16 | ||
- -DCMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
- -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache | ||
- -DCMAKE_BUILD_TYPE=Debug | ||
- -DCMAKE_CXX_FLAGS=-pipe | ||
- -DCMAKE_C_COMPILER=clang-16 | ||
- -DCMAKE_CXX_COMPILER=clang++-16 | ||
- -DCMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
- -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache | ||
devel_layout: linked | ||
devel_space: devel | ||
extend_path: null | ||
extends: null | ||
install: false | ||
install_space: install | ||
isolate_install: false | ||
jobs_args: [] | ||
jobs_args: [ ] | ||
licenses: | ||
- TODO | ||
- TODO | ||
log_space: logs | ||
maintainers: [] | ||
make_args: [] | ||
maintainers: [ ] | ||
make_args: [ ] | ||
source_space: src | ||
use_env_cache: false | ||
use_internal_make_jobserver: true | ||
whitelist: [] | ||
whitelist: [ ] |
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 |
---|---|---|
@@ -1,28 +1,28 @@ | ||
authors: [] | ||
blacklist: [] | ||
authors: [ ] | ||
blacklist: [ ] | ||
build_space: build | ||
catkin_make_args: [] | ||
catkin_make_args: [ ] | ||
cmake_args: | ||
- -DCMAKE_BUILD_TYPE=Release | ||
- -DCMAKE_CXX_FLAGS=-march=native -pipe | ||
- -DCMAKE_C_COMPILER=clang-16 | ||
- -DCMAKE_CXX_COMPILER=clang++-16 | ||
- -DCMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
- -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache | ||
- -DCMAKE_BUILD_TYPE=Release | ||
- -DCMAKE_CXX_FLAGS=-march=native -pipe | ||
- -DCMAKE_C_COMPILER=clang-16 | ||
- -DCMAKE_CXX_COMPILER=clang++-16 | ||
- -DCMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
- -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache | ||
devel_layout: linked | ||
devel_space: devel | ||
extend_path: null | ||
extends: null | ||
install: false | ||
install_space: install | ||
isolate_install: false | ||
jobs_args: [] | ||
jobs_args: [ ] | ||
licenses: | ||
- TODO | ||
- TODO | ||
log_space: logs | ||
maintainers: [] | ||
make_args: [] | ||
maintainers: [ ] | ||
make_args: [ ] | ||
source_space: src | ||
use_env_cache: false | ||
use_internal_make_jobserver: true | ||
whitelist: [] | ||
whitelist: [ ] |
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.