-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
equivalent of the 22.04 docker build but running as a native github a…
…ction
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Noetic 22.04 ROS CI 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: | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |