From b23117c59f21dbf45a5714a42e5f6575ae28c8c0 Mon Sep 17 00:00:00 2001 From: Romain Reignier Date: Mon, 10 Feb 2025 09:02:22 +0100 Subject: [PATCH] ci: add Github workflow --- .github/workflows/ci.yaml | 24 ++++++++++++++++++++++++ .github/workflows/deps.repos | 9 +++++++++ p_rosbridge_server_cpp/package.xml | 25 ++++++++++--------------- 3 files changed, 43 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/ci.yaml create mode 100644 .github/workflows/deps.repos diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..f0b32b4 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,24 @@ +name: CI +on: + push: + pull_request: + schedule: + # Run every Mondays at 8.30 am + - cron: '30 8 * * 1' + +jobs: + build: + name: ROS noetic on focal + runs-on: ubuntu-latest + container: + image: ros:noetic-ros-base-focal + steps: + - uses: actions/checkout@v4 + - uses: ros-tooling/setup-ros@v0.7 + with: + required-ros-distributions: noetic + - uses: ros-tooling/action-ros-ci@v0.3 + with: + package-name: p_rosbridge_server_cpp + target-ros1-distro: noetic + vcs-repo-file-url: "${{ github.workspace }}/.github/workflows/deps.repos" \ No newline at end of file diff --git a/.github/workflows/deps.repos b/.github/workflows/deps.repos new file mode 100644 index 0000000..fbf74d2 --- /dev/null +++ b/.github/workflows/deps.repos @@ -0,0 +1,9 @@ +repositories: + librosqt: + type: git + url: https://github.com/1r0b1n0/librosqt.git + version: master + ros_babel_fish: + type: git + url: https://github.com/StefanFabian/ros_babel_fish.git + version: kinetic \ No newline at end of file diff --git a/p_rosbridge_server_cpp/package.xml b/p_rosbridge_server_cpp/package.xml index e9f6388..641a356 100644 --- a/p_rosbridge_server_cpp/package.xml +++ b/p_rosbridge_server_cpp/package.xml @@ -10,24 +10,19 @@ MIT catkin - librosqt - ros_babel_fish - roscpp - std_msgs - rosbridge_cpp_msgs - librosqt - ros_babel_fish - roscpp - std_msgs - rosbridge_cpp_msgs - librosqt - ros_babel_fish - roscpp - std_msgs - rosbridge_cpp_msgs + libqt5-core + libqt5-websockets-dev + librosqt + ros_babel_fish + roscpp + std_msgs + rosbridge_cpp_msgs + python3-twisted + python3-autobahn +