Skip to content

Commit

Permalink
ci: build Debian packages for pull request
Browse files Browse the repository at this point in the history
Add workflow that will build Debian packages for each pull request and upload
them as artifacts to the pull request.

Part of timescale#16
  • Loading branch information
mkindahl committed Apr 16, 2023
1 parent 9ecbf66 commit 0e64ad3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/debuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Debuild Release
on:
pull_request:
branches: [main, master]
jobs:
debuild:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
env:
DEBIAN_FRONTEND: noninteractiv
run: |
sudo apt-get update
sudo apt-get install -qy postgresql-server-dev-all equivs devscripts debmake
- uses: actions/checkout@v2
- name: Build unsigned package
run: debmake -t -i "debuild -i -uc -us"
- uses: actions/upload-artifact@v3
with:
name: debian
path: ../postgresql-*pg-influx*.{ddeb,deb,dsc,buildinfo,changes}

0 comments on commit 0e64ad3

Please sign in to comment.