Skip to content

Commit

Permalink
Feat/GitHub action (#13)
Browse files Browse the repository at this point in the history
* Add descriptions and files related to github action

* Fix

* Fix

* Fix readme

* Fix readme
  • Loading branch information
makotoyoshigoe authored Aug 19, 2024
1 parent 5d729d6 commit d2db3e2
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 2 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/build-test.yaml
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


1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@ ament_auto_package(
INSTALL_TO_SHARE
config
launch
scripts
)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# gnss2map
# gnss2map [![build-test](https://github.com/CIT-Autonomous-Robot-Lab/gnss2map/actions/workflows/build-test.yaml/badge.svg)](https://github.com/CIT-Autonomous-Robot-Lab/gnss2map/actions/workflows/build-test.yaml)
## package overview
GNSSからの位置情報(緯度、経度、高度)をマップ内の座標(x, y, z)に変換するパッケージです。

Expand Down

0 comments on commit d2db3e2

Please sign in to comment.