summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-30 17:10:37 +0200
committerChristian Breunig <christian@breunig.cc>2024-05-31 09:51:40 +0200
commit76c366dff8408e0dc176ccbbeb068d4b15775b83 (patch)
treeea49b9991a374b661b7de9aed4bd2e7b711ee745
parent9859440abcad1e32b76b14a413c84c218f48bc0b (diff)
downloadvyos-1x-76c366dff8408e0dc176ccbbeb068d4b15775b83.tar.gz
vyos-1x-76c366dff8408e0dc176ccbbeb068d4b15775b83.zip
GitHub: add action to build package on PR
-rw-r--r--.github/workflows/build-package.yml17
1 files changed, 17 insertions, 0 deletions
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