summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-06-05 17:18:05 +0200
committerGitHub <noreply@github.com>2024-06-05 17:18:05 +0200
commit25eaa464f13c9c8e04bdbe6d668e0025ba5c0e69 (patch)
tree76670219ca7dc45011df8c00b37fa2acebeaeaba /.github
parent184da97efbc133803d709896d741ee7ea4a4445c (diff)
parent76c366dff8408e0dc176ccbbeb068d4b15775b83 (diff)
downloadvyos-1x-25eaa464f13c9c8e04bdbe6d668e0025ba5c0e69.tar.gz
vyos-1x-25eaa464f13c9c8e04bdbe6d668e0025ba5c0e69.zip
Merge pull request #3560 from c-po/action-test
GitHub: add action to build package on PR
Diffstat (limited to '.github')
-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