From 76c366dff8408e0dc176ccbbeb068d4b15775b83 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..0200aceb4 --- /dev/null +++ b/.github/workflows/build-package.yml @@ -0,0 +1,17 @@ +name: Debian Package Build +on: + pull_request: + branches: + - current + +jobs: + package-build: + runs-on: ubuntu-latest + container: + image: vyos/vyos-build:current + 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