-
Notifications
You must be signed in to change notification settings - Fork 859
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b7b6de
commit bc6739d
Showing
1 changed file
with
50 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,50 @@ | ||
name: bloom | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build_linux: | ||
name: "Ubuntu (${{ matrix.ros_distribution }})" | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
include: | ||
- docker_image: ubuntu:22.04 | ||
ros_distribution: humble | ||
|
||
- docker_image: ubuntu:24.04 | ||
ros_distribution: jazzy | ||
|
||
container: | ||
image: ${{ matrix.docker_image }} | ||
|
||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
|
||
steps: | ||
- name: install core dependencies | ||
run: | | ||
apt update | ||
apt install -y --no-install-recommends git ca-certificates | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: ros-tooling/[email protected] | ||
|
||
- name: install build tool dependencies | ||
run: | | ||
apt install -y --no-install-recommends devscripts equivs python3-bloom | ||
- name: bloom | ||
run: | | ||
rosdep update | ||
bloom-generate rosdebian --ros-distro ${{ matrix.ros_distribution }} | ||
mk-build-deps | ||
apt install -y --no-install-recommends ./ros-${{ matrix.ros_distribution }}-*-build-deps_*_all.deb | ||
dpkg-buildpackage -b | ||
- name: install bloomed packages | ||
run: | | ||
apt install -y --no-install-recommends ../ros-${{ matrix.ros_distribution }}-*_*.deb ../ros-${{ matrix.ros_distribution }}-*-dbgsym_*.ddeb |