From 22ef2be9cc6eca689cc9f4830a06d30681c684fb Mon Sep 17 00:00:00 2001 From: fmessmer Date: Wed, 14 Feb 2024 11:01:02 +0100 Subject: [PATCH] migrate ci to gha --- .github/workflows/main.yml | 40 ++++++++++++++++++++++++++++++++++++++ .travis.yml | 24 ----------------------- README.md | 17 ++-------------- 3 files changed, 42 insertions(+), 39 deletions(-) create mode 100644 .github/workflows/main.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..4c68732 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,40 @@ +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 823dfd3..0000000 --- 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' - - CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release - - PYLINT_ARGS="--output-format=parseable --errors-only --ignored-modules=catkin_pkg,http.server,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 c177c25..1cc51b7 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,7 @@ cob_android =========== -## ROS Distro Support +## GitHub Actions - Continuous Integration -| | Indigo | Jade | Kinetic | Melodic | -|:-------:|:------:|:----:|:-------:|:-------:| -| Branch | [`indigo_dev`](https://github.com/ipa320/cob_android/tree/indigo_dev) | [`indigo_dev`](https://github.com/ipa320/cob_android/tree/indigo_dev) | [`indigo_dev`](https://github.com/ipa320/cob_android/tree/indigo_dev) | -| Status | supported | not supported | supported | supported | -| Version | [version](http://repositories.ros.org/status_page/ros_indigo_default.html?q=cob_android) | [version](http://repositories.ros.org/status_page/ros_jade_default.html?q=cob_android) | [version](http://repositories.ros.org/status_page/ros_kinetic_default.html?q=cob_android) | [version](http://repositories.ros.org/status_page/ros_melodic_default.html?q=cob_android) | +CI-Status ```indigo_dev```: [![GHA CI](https://github.com/ipa320/cob_android/actions/workflows/main.yml/badge.svg?branch=indigo_dev)](https://github.com/ipa320/cob_android/actions/workflows/main.yml?query=branch%3Aindigo_dev) -## Travis - Continuous Integration - -Status: [![Build Status](https://app.travis-ci.com/ipa320/cob_android.svg?branch=indigo_dev)](https://app.travis-ci.com/ipa320/cob_android) - -## ROS Buildfarm - -| | Indigo Source | Indigo Debian | Jade Source | Jade Debian | Kinetic Source | Kinetic Debian | Melodic Source | Melodic Debian | -|:-------:|:-------------:|:-------------:|:-----------:|:-----------:|:--------------:|:--------------:|:--------------:|:--------------:| -| cob_android | [![not released](http://build.ros.org/buildStatus/icon?job=Isrc_uT__cob_android__ubuntu_trusty__source)](http://build.ros.org/view/Isrc_uT/job/Isrc_uT__cob_android__ubuntu_trusty__source/) | [![not released](http://build.ros.org/buildStatus/icon?job=Ibin_uT64__cob_android__ubuntu_trusty_amd64__binary)](http://build.ros.org/view/Ibin_uT64/job/Ibin_uT64__cob_android__ubuntu_trusty_amd64__binary/) | [![not released](http://build.ros.org/buildStatus/icon?job=Jsrc_uT__cob_android__ubuntu_trusty__source)](http://build.ros.org/view/Jsrc_uT/job/Jsrc_uT__cob_android__ubuntu_trusty__source/) | [![not released](http://build.ros.org/buildStatus/icon?job=Jbin_uT64__cob_android__ubuntu_trusty_amd64__binary)](http://build.ros.org/view/Jbin_uT64/job/Jbin_uT64__cob_android__ubuntu_trusty_amd64__binary/) | [![not released](http://build.ros.org/buildStatus/icon?job=Ksrc_uX__cob_android__ubuntu_xenial__source)](http://build.ros.org/view/Ksrc_uX/job/Ksrc_uX__cob_android__ubuntu_xenial__source/) | [![not released](http://build.ros.org/buildStatus/icon?job=Kbin_uX64__cob_android__ubuntu_xenial_amd64__binary)](http://build.ros.org/view/Kbin_uX64/job/Kbin_uX64__cob_android__ubuntu_xenial_amd64__binary/) | [![not released](http://build.ros.org/buildStatus/icon?job=Msrc_uB__cob_android__ubuntu_bionic__source)](http://build.ros.org/view/Msrc_uB/job/Msrc_uB__cob_android__ubuntu_bionic__source/) | [![not released](http://build.ros.org/buildStatus/icon?job=Mbin_uB64__cob_android__ubuntu_bionic_amd64__binary)](http://build.ros.org/view/Mbin_uB64/job/Mbin_uB64__cob_android__ubuntu_bionic_amd64__binary/) |