From 641717b8da386ae0a08e82651882b4b4f9746906 Mon Sep 17 00:00:00 2001 From: fmessmer Date: Thu, 15 Feb 2024 10:40:34 +0100 Subject: [PATCH] migrate ci to gha --- .github/workflows/main.yml | 40 ++++++++++++++++++++++++++++++++++++++ .travis.rosinstall | 4 ---- .travis.yml | 24 ----------------------- 3 files changed, 40 insertions(+), 28 deletions(-) create mode 100644 .github/workflows/main.yml delete mode 100644 .travis.rosinstall delete mode 100644 .travis.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..4c967c75 --- /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 --skip-pkg cob_leg_detection --skip-pkg cob_openni2_tracker --skip-pkg cob_people_tracking_filter --skip-pkg libnite2' + CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Release + PYLINT_ARGS: '--output-format=parseable --errors-only' + PYLINT_CHECK: true + ROS_REPO: main + + strategy: + matrix: + include: + - { ROS_DISTRO: melodic } + + 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.rosinstall b/.travis.rosinstall deleted file mode 100644 index 7f814a1c..00000000 --- a/.travis.rosinstall +++ /dev/null @@ -1,4 +0,0 @@ -- git: - local-name: cob_perception_common - uri: https://github.com/ipa320/cob_perception_common.git - version: indigo_dev diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c4d947ca..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 --skip-pkg cob_leg_detection --skip-pkg cob_openni2_tracker --skip-pkg cob_people_tracking_filter --skip-pkg libnite2' - - CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release - - PYLINT_ARGS="--output-format=parseable --errors-only --ignored-modules=cv,numpy" - - PYLINT_CHECK=true - - ROS_REPO=main - - UPSTREAM_WORKSPACE=file - matrix: - - ROS_DISTRO=melodic -install: - - git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .industrial_ci -b master -script: - - .industrial_ci/travis.sh