mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 10:31:02 +02:00
Add Debian autopkgtest
This commit is contained in:
parent
71c922f0dd
commit
85f2d3e55b
30
.github/workflows/debian-ci.yml
vendored
Normal file
30
.github/workflows/debian-ci.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
name: Debian Autopkgtest
|
||||
|
||||
on:
|
||||
pull_request: {}
|
||||
push: {}
|
||||
|
||||
jobs:
|
||||
|
||||
debian-build:
|
||||
# focal is too old, use jammy
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Tweak debhelper compat level for focal
|
||||
run: sed -i -e 's/debhelper-compat (= 13)/debhelper-compat (= 12)/' debian/control
|
||||
|
||||
- name: Install build-dependencies
|
||||
run: sudo apt-get build-dep -y .
|
||||
|
||||
- name: Build pgloader.deb
|
||||
run: dpkg-buildpackage --no-sign --buildinfo-option=--version -b
|
||||
|
||||
- name: Install autopkgtest
|
||||
run: sudo apt-get install -y autopkgtest
|
||||
|
||||
- name: Autopkgtest
|
||||
run: sudo autopkgtest ./ ../pgloader_*_amd64.deb -- null
|
||||
Loading…
x
Reference in New Issue
Block a user