diff --git a/.github/workflows/ubuntu_22_04.yml b/.github/workflows/ubuntu_22_04.yml new file mode 100644 index 0000000..c0de419 --- /dev/null +++ b/.github/workflows/ubuntu_22_04.yml @@ -0,0 +1,31 @@ +name: Noetic 22.04 ROS CI build + +on: [push] + +jobs: + build: + runs-on: ubuntu-22.04 + + steps: + - name: git clone git@github.com:lucasw/screen_grab + uses: actions/checkout@v4 + with: + path: catkin_ws/src/screen_grab + + - name: git clone git@github.com:lucasw/roslint + uses: actions/checkout@v4 + with: + repository: lucasw/roslint + path: catkin_ws/src/roslint + + - name: install dependencies + run: | + cd catkin_ws/src/screen_grab + sudo ./dependencies_22_04.sh + + - name: catkin make + run: | + cd catkin_ws + find src + catkin_make + catkin_make screen_grab --cmake-args roslint diff --git a/dependencies_22_04.sh b/dependencies_22_04.sh new file mode 100755 index 0000000..c1396d1 --- /dev/null +++ b/dependencies_22_04.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +apt-get install -yqq catkin +apt-get install -yqq build-essential + +apt-get install -yqq python3-rosdep2 +# rosdep init +rosdep update + +apt-get install -yqq python3-dynamic-reconfigure libdynamic-reconfigure-config-init-mutex-dev +apt-get install -yqq libimage-transport-dev +apt-get install -yqq libnodeletlib-dev +apt-get install -yqq libx11-dev +apt-get install -yqq libcv-bridge-dev python3-cv-bridge