From 633daab35e5ae39daf5b4c8d3ee0f17951155e26 Mon Sep 17 00:00:00 2001 From: Apostolos Georgiadis Date: Wed, 15 Nov 2023 12:20:48 +0100 Subject: [PATCH] Create build-deb.yml --- .github/workflows/build-deb.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build-deb.yml diff --git a/.github/workflows/build-deb.yml b/.github/workflows/build-deb.yml new file mode 100644 index 0000000..d78f313 --- /dev/null +++ b/.github/workflows/build-deb.yml @@ -0,0 +1,28 @@ +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: Install dependecies + run: | + sudo apt update && sudo apt install -y python3-bloom python3-rosdep fakeroot debhelper dh-python + - name: Initialize rosdep + run: | + sudo rosdep init + rosdep update + + - name: Checkout repository + uses: actions/checkout@v4 + with: + ref: humble + - name: Build debian package + run: | + bloom-generate rosdebian + fakeroot debian/rules binary