summaryrefslogtreecommitdiff
path: root/.github/workflows/build-package.yml
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:52:00 +0200
commit3a5b4eaa8a2c9f38fa4b6f2d0c82b7f91fc3b6d3 (patch)
tree864c78275f00e8877c63eca31faf43246ef10d83 /.github/workflows/build-package.yml
parent1220c66589438da42db6a9c2334253024a7e68f2 (diff)
downloadvyos-1x-3a5b4eaa8a2c9f38fa4b6f2d0c82b7f91fc3b6d3.tar.gz
vyos-1x-3a5b4eaa8a2c9f38fa4b6f2d0c82b7f91fc3b6d3.zip
GitHub: add action to build package on PR
Diffstat (limited to '.github/workflows/build-package.yml')
-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..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