-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add descriptions and files related to github action * Fix * Fix * Fix readme * Fix readme
- Loading branch information
1 parent
5d729d6
commit d2db3e2
Showing
3 changed files
with
50 additions
and
2 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,49 @@ | ||
name: build-test | ||
|
||
on: | ||
push: | ||
# branches: | ||
# - main | ||
paths-ignore: | ||
- '**.md' | ||
- '**.param**' | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-latest | ||
container: osrf/ros:humble-desktop | ||
strategy: | ||
matrix: | ||
rosdistro: | ||
- humble | ||
|
||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Apt update | ||
run: | | ||
sudo apt update -y | ||
- name: Build Test | ||
run: | | ||
mkdir ../catkin_ws/src -p | ||
cp -r ./* ../catkin_ws/src | ||
cd ../catkin_ws | ||
rosdep update | ||
rosdep install -r -y --from-paths --ignore-src ./ | ||
source /opt/ros/humble/setup.bash | ||
colcon build --symlink-install | ||
shell: bash | ||
|
||
# - name : Ament Cpplint | ||
# run: | | ||
# source /opt/ros/humble/setup.bash | ||
# ament_cpplint src/ include/ | ||
# shell: bash | ||
|
||
# - name : Colcon Test | ||
# run: | | ||
# colcon test-result --verbose | ||
|
||
|
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 |
---|---|---|
|
@@ -31,5 +31,4 @@ ament_auto_package( | |
INSTALL_TO_SHARE | ||
config | ||
launch | ||
scripts | ||
) |
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