This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
Update build-deb.yml #18
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
name: Build Debian Package | |
on: | |
push: | |
branches: [ "humble" ] | |
pull_request: | |
branches: [ "humble" ] | |
permissions: | |
contents: read | |
jobs: | |
build_debian: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Setup ROS environment | |
uses: ros-tooling/setup-ros@v0.7 | |
with: | |
required-ros-distributions: humble | |
- name: Install dependecies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y python3-bloom fakeroot debhelper dh-python | |
- name: Initialize rosdep | |
run: | | |
rosdep update | |
- name: Checkout repository | |
if: always() | |
uses: actions/checkout@v4 | |
with: | |
ref: humble | |
path: etsi_its_msgs | |
- name: Build debian package | |
run: | | |
cd etsi_its_msgs | |
bloom-generate rosdebian | |
fakeroot debian/rules binary |