From 3a5b4eaa8a2c9f38fa4b6f2d0c82b7f91fc3b6d3 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 30 May 2024 17:10:37 +0200 Subject: GitHub: add action to build package on PR --- .github/workflows/build-package.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/build-package.yml (limited to '.github/workflows/build-package.yml') diff --git a/.github/workflows/build-package.yml b/.github/workflows/build-package.yml new file mode 100644 index 000000000..12c435399 --- /dev/null +++ b/.github/workflows/build-package.yml @@ -0,0 +1,17 @@ +name: Debian Package Build +on: + pull_request: + branches: + - sagitta + +jobs: + package-build: + runs-on: ubuntu-latest + container: + image: vyos/vyos-build:sagitta + options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build Debian package + run: dpkg-buildpackage -uc -us -tc -b -- cgit v1.2.3