Skip to content

Commit 5686421

Browse files
Switch to using github actions
1 parent 80d9579 commit 5686421

File tree

5 files changed

+170
-29
lines changed

5 files changed

+170
-29
lines changed

.github/workflows/bionic_build.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Bionic-Build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
schedule:
9+
- cron: '0 5 * * *'
10+
11+
jobs:
12+
industrial_ci:
13+
name: Melodic
14+
runs-on: ubuntu-latest
15+
env:
16+
CI_NAME: Bionic-Build
17+
OS_NAME: ubuntu
18+
OS_CODE_NAME: bionic
19+
ROS_DISTRO: melodic
20+
ROS_REPO: main
21+
NOT_TEST_BUILD: true
22+
UPSTREAM_WORKSPACE: 'dependencies_ros1.rosinstall'
23+
ROSDEP_SKIP_KEYS: "iwyu cmake_common_scripts"
24+
CCACHE_DIR: "/home/runner/work/noether/noether/Bionic-Build/.ccache"
25+
TARGET_CMAKE_ARGS: "-DNURBS_FOUND=TRUE"
26+
DOCKER_IMAGE: "rosindustrial/noether:melodic"
27+
steps:
28+
- uses: actions/checkout@v2
29+
30+
- name: Free Disk Space
31+
run: |
32+
sudo swapoff -a
33+
sudo rm -f /swapfile
34+
sudo apt clean
35+
docker rmi $(docker image ls -aq)
36+
df -h
37+
38+
- name: Prepare ccache timestamp
39+
id: ccache_cache_timestamp
40+
shell: cmake -P {0}
41+
run: |
42+
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
43+
message("::set-output name=timestamp::${current_date}")
44+
45+
- name: ccache cache files
46+
uses: actions/cache@v1.1.0
47+
with:
48+
path: ${{ env.CI_NAME }}/.ccache
49+
key: ${{ env.CI_NAME }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
50+
restore-keys: |
51+
${{ env.CI_NAME }}-ccache-
52+
53+
- uses: 'ros-industrial/industrial_ci@master'
54+
env: ${{env}}

.github/workflows/focal_build.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Focal-Build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
schedule:
9+
- cron: '0 5 * * *'
10+
11+
jobs:
12+
industrial_ci:
13+
name: Noetic
14+
runs-on: ubuntu-latest
15+
env:
16+
CI_NAME: Focal-Build
17+
OS_NAME: ubuntu
18+
OS_CODE_NAME: focal
19+
ROS_DISTRO: noetic
20+
ROS_REPO: main
21+
NOT_TEST_BUILD: true
22+
UPSTREAM_WORKSPACE: 'dependencies_ros1.rosinstall'
23+
ROSDEP_SKIP_KEYS: "iwyu cmake_common_scripts"
24+
CCACHE_DIR: "/home/runner/work/noether/noether/Focal-Build/.ccache"
25+
TARGET_CMAKE_ARGS: "-DNURBS_FOUND=TRUE"
26+
DOCKER_IMAGE: "rosindustrial/noether:noetic"
27+
steps:
28+
- uses: actions/checkout@v2
29+
30+
- name: Free Disk Space
31+
run: |
32+
sudo swapoff -a
33+
sudo rm -f /swapfile
34+
sudo apt clean
35+
docker rmi $(docker image ls -aq)
36+
df -h
37+
38+
- name: Prepare ccache timestamp
39+
id: ccache_cache_timestamp
40+
shell: cmake -P {0}
41+
run: |
42+
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
43+
message("::set-output name=timestamp::${current_date}")
44+
45+
- name: ccache cache files
46+
uses: actions/cache@v1.1.0
47+
with:
48+
path: ${{ env.CI_NAME }}/.ccache
49+
key: ${{ env.CI_NAME }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
50+
restore-keys: |
51+
${{ env.CI_NAME }}-ccache-
52+
53+
- uses: 'ros-industrial/industrial_ci@master'
54+
env: ${{env}}

.github/workflows/xenial_build.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Xenial-Build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
schedule:
9+
- cron: '0 5 * * *'
10+
11+
jobs:
12+
industrial_ci:
13+
name: Kinetic
14+
runs-on: ubuntu-latest
15+
env:
16+
CI_NAME: Xenial-Build
17+
OS_NAME: ubuntu
18+
OS_CODE_NAME: xenial
19+
ROS_DISTRO: kinetic
20+
ROS_REPO: main
21+
NOT_TEST_BUILD: true
22+
UPSTREAM_WORKSPACE: 'dependencies_ros1.rosinstall'
23+
ROSDEP_SKIP_KEYS: "iwyu cmake_common_scripts"
24+
CCACHE_DIR: "/home/runner/work/noether/noether/Xenial-Build/.ccache"
25+
TARGET_CMAKE_ARGS: "-DNURBS_FOUND=TRUE"
26+
DOCKER_IMAGE: "rosindustrial/noether:kinetic"
27+
steps:
28+
- uses: actions/checkout@v2
29+
30+
- name: Free Disk Space
31+
run: |
32+
sudo swapoff -a
33+
sudo rm -f /swapfile
34+
sudo apt clean
35+
docker rmi $(docker image ls -aq)
36+
df -h
37+
38+
- name: Prepare ccache timestamp
39+
id: ccache_cache_timestamp
40+
shell: cmake -P {0}
41+
run: |
42+
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
43+
message("::set-output name=timestamp::${current_date}")
44+
45+
- name: ccache cache files
46+
uses: actions/cache@v1.1.0
47+
with:
48+
path: ${{ env.CI_NAME }}/.ccache
49+
key: ${{ env.CI_NAME }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
50+
restore-keys: |
51+
${{ env.CI_NAME }}-ccache-
52+
53+
- uses: 'ros-industrial/industrial_ci@master'
54+
env: ${{env}}

.travis.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
Tool path planning and surface segmenter
44

5+
## Build Status
6+
7+
Platform | CI Status
8+
---------------------|:---------
9+
Linux (Focal) | [![Build Status](https://github.com/ros-industrial/noether/workflows/Focal-Build/badge.svg)](https://github.com/ros-industrial/noether/actions)
10+
Linux (Bionic) | [![Build Status](https://github.com/ros-industrial/noether/workflows/Bionic-Build/badge.svg)](https://github.com/ros-industrial/noether/actions)
11+
Linux (Xenial) | [![Build Status](https://github.com/ros-industrial/noether/workflows/Xenial-Build/badge.svg)](https://github.com/ros-industrial/noether/actions)
12+
513
---
614
## Prerequisites
715
- These packages run on Ubuntu 16.04 and ROS

0 commit comments

Comments
 (0)