From ba58a5b96aa9aba12d339909a6b558a8e65f9151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Thorben=20Hinz?= Date: Sun, 12 May 2024 15:57:23 +0200 Subject: [PATCH] fixup! Support the use of additional APT repositories --- .github/workflows/test.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f6acf59..d19e9a7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -248,6 +248,38 @@ jobs: test -f debian/artifacts/test_1_amd64.buildinfo test -f debian/artifacts/test_1_amd64.changes + extra-repos-deb822: + needs: [single-package] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: cat test/Makefile_extra-repos >>test/Makefile + - uses: ./ + env: + DEB_BUILD_OPTIONS: noautodbgsym + with: + buildpackage-opts: --build=binary --no-sign + # Install one of the smallest packages from non-free that itself has + # minimal dependencies: + # Selected with `aptitude search -Odebsize -F '%D %I %p' '~snon-free'` + extra-build-deps: libfaac0 + extra-repos: | + Types: deb + URIs: http://deb.debian.org/debian + Suites: stable + Components: contrib + + Types: deb + URIs: http://deb.debian.org/debian + Suites: stable + Components: non-free + source-dir: test + - run: | + dpkg --info debian/artifacts/test_1_amd64.deb + dpkg --contents debian/artifacts/test_1_amd64.deb | grep ./usr/bin/mybin + test -f debian/artifacts/test_1_amd64.buildinfo + test -f debian/artifacts/test_1_amd64.changes + full-build: runs-on: ubuntu-latest steps: