From 9cee88785c03433387005b5afb163811e87683c4 Mon Sep 17 00:00:00 2001 From: David Anthony Date: Fri, 29 Sep 2023 13:05:23 -0500 Subject: [PATCH] Switching from Travis to Github Actions fork CI --- .github/workflows/main.yml | 20 ++++++++++++++++++++ .ros2_build.sh | 16 ---------------- .travis.yml | 10 ---------- 3 files changed, 20 insertions(+), 26 deletions(-) create mode 100644 .github/workflows/main.yml delete mode 100755 .ros2_build.sh delete mode 100644 .travis.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..877cce2 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +name: CI + +on: [push, pull_request] + +jobs: + industrial_ci: + strategy: + matrix: + env: + - {ROS_DISTRO: humble, ROS_REPO: testing} + - {ROS_DISTRO: humble, ROS_REPO: main} + - {ROS_DISTRO: iron, ROS_REPO: testing} + - {ROS_DISTRO: iron, ROS_REPO: main} + - {ROS_DISTRO: rolling, ROS_REPO: testing} + - {ROS_DISTRO: rolling, ROS_REPO: main} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: 'ros-industrial/industrial_ci@master' + env: ${{matrix.env}} diff --git a/.ros2_build.sh b/.ros2_build.sh deleted file mode 100755 index 1546f6d..0000000 --- a/.ros2_build.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -apt-get update -rosdep update -apt-get install -y build-essential python3-colcon-ros - -pushd /ws/src -git clone --depth 1 -b 2.0.0 https://github.com/ros/diagnostics.git -git clone --depth 1 -b dashing-devel https://github.com/pjreed/marti_common.git -popd - -cd /ws - -rosdep install src --from-paths -i -y -colcon build -colcon test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 599fbd1..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: generic - -services: - - docker - -jobs: - include: - - stage: compile - script: - - exec docker run -a STDOUT -a STDERR --rm -v $(pwd):/ws/src/novatel_gps_driver ros:dashing /ws/src/novatel_gps_driver/.ros2_build.sh