diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..6e29f819 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,39 @@ +name: GHA CI + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * 0" # every Sunday at midnight + workflow_dispatch: + +jobs: + industrial_ci: + name: GHA CI + runs-on: ubuntu-latest + timeout-minutes: 60 + + env: + ADDITIONAL_DEBS: 'apt-utils dialog git' + CATKIN_LINT: pedantic + CATKIN_LINT_ARGS: '--ignore description_boilerplate' + CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Release + PYLINT_ARGS: '--output-format=parseable --errors-only' + PYLINT_CHECK: true + ROS_REPO: main + + strategy: + matrix: + include: + - { ROS_DISTRO: noetic } + + steps: + - uses: actions/checkout@v4 + with: + submodules: true + lfs: true + ssh-known-hosts: '' + + - uses: ros-industrial/industrial_ci@master + with: + config: ${{toJSON(matrix)}} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 33b1c294..00000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -language: generic -services: - - docker - -notifications: - email: - on_success: change - on_failure: always -env: - global: - - ADDITIONAL_DEBS='apt-utils curl dialog wget' - - CATKIN_LINT=pedantic - - CATKIN_LINT_ARGS='--ignore description_boilerplate --ignore target_name_collision' - - CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release - - PYLINT_ARGS="--output-format=parseable --errors-only --ignored-modules=catkin_pkg,cv2,itertools,gi,gtk,gtk.gdk,mechanize,numpy,paramiko,psutil,pygraphviz,pygtk,python_qt_binding,python_qt_binding.QtCore,requests,setuptools" - - PYLINT_CHECK=true - - ROS_REPO=main - matrix: - - ROS_DISTRO=melodic - - ROS_DISTRO=noetic -install: - - git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .industrial_ci -b master -script: - - .industrial_ci/travis.sh diff --git a/README.md b/README.md index bc5cab6b..c1ae6225 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,6 @@ cob_command_tools =========== -## ROS Distro Support +## GitHub Actions - Continuous Integration -| | Indigo | Jade | Kinetic | Melodic | -|:-------:|:------:|:----:|:-------:|:-------:| -| Branch | [`indigo_dev`](https://github.com/ipa320/cob_command_tools/tree/indigo_dev) | [`indigo_dev`](https://github.com/ipa320/cob_command_tools/tree/indigo_dev) | [`indigo_dev`](https://github.com/ipa320/cob_command_tools/tree/indigo_dev) | [`indigo_dev`](https://github.com/ipa320/cob_command_tools/tree/indigo_dev) | -| Status | supported | not supported | supported | supported | -| Version | [version](http://repositories.ros.org/status_page/ros_indigo_default.html?q=cob_command_tools) | [version](http://repositories.ros.org/status_page/ros_jade_default.html?q=cob_command_tools) | [version](http://repositories.ros.org/status_page/ros_kinetic_default.html?q=cob_command_tools) | [version](http://repositories.ros.org/status_page/ros_melodic_default.html?q=cob_command_tools) | - -## Travis - Continuous Integration - -Status: [![Build Status](https://app.travis-ci.com/ipa320/cob_command_tools.svg?branch=indigo_dev)](https://app.travis-ci.com/ipa320/cob_command_tools) - -## ROS Buildfarm - -| | Indigo Source | Indigo Debian | Jade Source | Jade Debian | Kinetic Source | Kinetic Debian | Melodic Source | Melodic Debian | -|:-------:|:-------------:|:-------------:|:-----------:|:-----------:|:--------------:|:--------------:|:--------------:|:--------------:| -| cob_command_tools | [![not released](http://build.ros.org/buildStatus/icon?job=Isrc_uT__cob_command_tools__ubuntu_trusty__source)](http://build.ros.org/view/Isrc_uT/job/Isrc_uT__cob_command_tools__ubuntu_trusty__source/) | [![not released](http://build.ros.org/buildStatus/icon?job=Ibin_uT64__cob_command_tools__ubuntu_trusty_amd64__binary)](http://build.ros.org/view/Ibin_uT64/job/Ibin_uT64__cob_command_tools__ubuntu_trusty_amd64__binary/) | [![not released](http://build.ros.org/buildStatus/icon?job=Jsrc_uT__cob_command_tools__ubuntu_trusty__source)](http://build.ros.org/view/Jsrc_uT/job/Jsrc_uT__cob_command_tools__ubuntu_trusty__source/) | [![not released](http://build.ros.org/buildStatus/icon?job=Jbin_uT64__cob_command_tools__ubuntu_trusty_amd64__binary)](http://build.ros.org/view/Jbin_uT64/job/Jbin_uT64__cob_command_tools__ubuntu_trusty_amd64__binary/) | [![not released](http://build.ros.org/buildStatus/icon?job=Ksrc_uX__cob_command_tools__ubuntu_xenial__source)](http://build.ros.org/view/Ksrc_uX/job/Ksrc_uX__cob_command_tools__ubuntu_xenial__source/) | [![not released](http://build.ros.org/buildStatus/icon?job=Kbin_uX64__cob_command_tools__ubuntu_xenial_amd64__binary)](http://build.ros.org/view/Kbin_uX64/job/Kbin_uX64__cob_command_tools__ubuntu_xenial_amd64__binary/) | [![not released](http://build.ros.org/buildStatus/icon?job=Msrc_uB__cob_command_tools__ubuntu_bionic__source)](http://build.ros.org/view/Msrc_uB/job/Msrc_uB__cob_command_tools__ubuntu_bionic__source/) | [![not released](http://build.ros.org/buildStatus/icon?job=Mbin_uB64__cob_command_tools__ubuntu_bionic_amd64__binary)](http://build.ros.org/view/Mbin_uB64/job/Mbin_uB64__cob_command_tools__ubuntu_bionic_amd64__binary/) | - -Installation instructions and tutorials can be found at http://wiki.ros.org/care-o-bot. +CI-Status ```indigo_dev```: [![GHA CI](https://github.com/4am-robotics/cob_command_tools/actions/workflows/main.yml/badge.svg?branch=indigo_dev)](https://github.com/4am-robotics/cob_command_tools/actions/workflows/main.yml?query=branch%3Aindigo_dev)