Skip to content

Commit

Permalink
equivalent of the 22.04 docker build but running as a native github a…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
lucasw committed Nov 17, 2024
1 parent 6f2d56a commit 7e504bf
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ubuntu_22_04.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Noetic 22.04 ROS CI Docker build

on: [push]

jobs:
build:
runs-on: ubuntu-22.04

steps:
- name: git clone [email protected]:lucasw/screen_grab
uses: actions/checkout@v4
with:
path: catkin_ws/src/screen_grab

- name: git clone [email protected]:lucasw/roslint
uses: actions/checkout@v4
with:
path: catkin_ws/src/roslint

- name: install dependencies
run: |
cd catkin_ws/src/screen_grab
sudo ./dependencies_22_04.sh
- name: install dependencies
run: |
cd catkin_ws/src/screen_grab
sudo ./dependencies_22_04.sh
- name: install dependencies
run: |
cd catkin_ws
catkin_make
catkin_make screen_grab --cmake-args roslint
14 changes: 14 additions & 0 deletions dependencies_22_04.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7e504bf

Please sign in to comment.