2022-11-06 14:05:23 +03:00
|
|
|
name: Build Debian packages
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: ${{ matrix.dist }}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
2023-02-23 17:13:59 +03:00
|
|
|
fail-fast: false
|
2022-11-06 14:05:23 +03:00
|
|
|
matrix:
|
|
|
|
dist: ['buster', 'bullseye', 'bookworm']
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- uses: jtdor/build-deb-action@v1
|
|
|
|
with:
|
|
|
|
docker-image: debian:${{ matrix.dist }}-slim
|
|
|
|
buildpackage-opts: --build=binary --no-sign
|
2023-02-23 17:35:38 +03:00
|
|
|
before-build-hook: debchange --controlmaint --local "+${{ github.sha }}~${{ matrix.dist }}" -b --distribution ${{ matrix.dist }} "CI build"
|
2023-02-23 17:24:15 +03:00
|
|
|
extra-build-deps: devscripts git
|
2022-11-06 14:05:23 +03:00
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: i2pd_${{ matrix.dist }}
|
|
|
|
path: debian/artifacts/i2pd_*.deb
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: i2pd-dbgsym_${{ matrix.dist }}
|
|
|
|
path: debian/artifacts/i2pd-dbgsym_*.deb
|