Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add github workflow #248

Draft
wants to merge 3 commits into
base: kinetic-devel
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on: [push]

jobs:
catkin-build:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v1
with:
fetch-depth: 1
id: checkout
- name: build image
run: docker build -t godel .
- name: image details
run: docker images

23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
from ros:kinetic

ENV PYTHONIOENCODING=UTF-8 \
CATKIN_WS=/catkin_ws

RUN apt-get update && apt-get install -y \
python-pip \
&& rm -rf /var/lib/apt/lists/*

RUN pip install catkin_tools wstool

COPY ./ /$CATKIN_WS/src/godel
WORKDIR /$CATKIN_WS

RUN wstool init --shallow src src/godel/godel.repos

RUN bash -c "source /opt/ros/$ROS_DISTRO/setup.bash && apt update && rosdep install -y --ignore-packages-from-source --from-paths $CATKIN_WS/src"

RUN bash -c "source /opt/ros/$ROS_DISTRO/setup.bash && catkin build --no-status"
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@ Godel: Austrian logician and mathematician http://en.wikipedia.org/wiki/Kurt_G%C

### Installation

- Install [wstool](http://wiki.ros.org/wstool) in order manage the repos inside the workspace
- Install [wstool](http://wiki.ros.org/wstool) and [catkin_tools](https://catkin-tools.readthedocs.io/en/latest/) in order manage the repos inside the workspace:
```
sudo apt install python-wstool
pip install --user catkin_tools wstool
```

- Cd into the 'src' directory of your catkin workspace and run the following:
- setup the workspace and dependencies
```
wstool init .
wstool merge https://github.com/ros-industrial-consortium/godel/raw/kinetic-devel/godel.rosinstall
wstool update
mkdir -p catkin_ws/src
cd catkin_ws
git clone https://github.com/ros-industrial-consortium/godel src/godel
wstool init --shallow src src/godel/godel.repos
rosdep install --from-paths . --ignore-src
```

Expand Down
1 change: 0 additions & 1 deletion godel.rosinstall → godel.repos
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
- git: {local-name: godel_openvoronoi, uri: 'https://github.com/ros-industrial-consortium/godel_openvoronoi.git', version: hydro-devel}
- git: {local-name: godel, uri: 'https://github.com/ros-industrial-consortium/godel.git', version: kinetic-devel}
- git: {local-name: industrial_core, uri: 'https://github.com/ros-industrial/industrial_core.git', version: kinetic-devel}
- git: {local-name: keyence_experimental, uri: 'https://github.com/ros-industrial/keyence_experimental.git', version: kinetic-devel}
- git: {local-name: libsocket, uri: 'https://github.com/dermesser/libsocket.git', version: master}
Expand Down