From 8dd826eb45d39a732a13266442088acb74650af8 Mon Sep 17 00:00:00 2001 From: Leonardo Held Date: Mon, 22 Apr 2024 17:00:08 -0300 Subject: [PATCH] github: workflows: add deb-builder Signed-off-by: Leonardo Held --- .github/workflows/deb-builder.yml | 87 +++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 .github/workflows/deb-builder.yml diff --git a/.github/workflows/deb-builder.yml b/.github/workflows/deb-builder.yml new file mode 100644 index 00000000..c049918d --- /dev/null +++ b/.github/workflows/deb-builder.yml @@ -0,0 +1,87 @@ +name: Build Debian Package + +on: + push: + workflow_dispatch: + +jobs: + build-debs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Set up binfmt with qemu + uses: docker/setup-qemu-action@v3 + + - uses: leonheldattoradex/build-deb-action@v1.7.1 + env: + DEB_BUILD_OPTIONS: noautodbgsym + with: + buildpackage-opts: --build=binary --no-sign + host-arch: arm64 + apt-opts: --install-recommends + extra-build-deps: ca-certificates + apt-sources: | + Types: deb + URIs: https://feeds.toradex.com/debian + Suites: testing + Components: main non-free + Signed-By: /usr/share/keyrings/build-deb-action.gpg + apt-key: | + -----BEGIN PGP PUBLIC KEY BLOCK----- + + mQINBGUJ0fgBEADe+nvFNajvFQQPGXXLixVz4/+xLGdnmgGef6Oe4DPuIFD7WATJ + hzH8ng+elAHVIkfrV7+j9lGWnozcBqBdvHoz46Y2EE1nk3no78aUdy+9b0wx3yWe + tqY29Nu3yVD8d64e5fuGq4PKJB1gtFkWhEfFwTmq3uiRQRfAy60DERTDF7bocQsW + hTVjc/Lr1lj4POB0HlUhzIj84o/y5SV50F0oqpJdjfu6Bbp/XVHklF4GNBabaFVf + iF11306eWKcKM2yZI4MJhAPTaTSFS51Z81lbQkyLjQzfdxAvSSsNWUUS8A3IYBhi + IwyeIS3jPtBcIDPcxKDB8rio8j6eKq0FtnW1WTVMmDdBqLlE71y2Av2d2W4ySqf+ + huvhRPqCVMgsr09oHUOka19cX82YTYi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EF4A21uUGZSmB6nfUWmGob1/yk + t7OFIVpO+1QTVa3MyfxwUSDriQtjhVkV7Kj5R06UmuDibj/LFlhK2Nn1NpZY2yjH + yjPrwDZiqfWhuP5XyvVHAXJT2Am7e+wt1odQMBjtytAQ1UmpamTiKZMIsU/lh/qV + 5D0Rb8GPJXn0YqgoUTqa8uGbExdEfNxnoegcF2wUaOQoZk9yjOQc26QRV/6QVO5M + th41p/ZxuTPVJAs76MPPpeNFT9xZmsP+LWE2awaWYTTk+aAmgQQIHyqJqc/QRYsw + KKcWF/U+7aKlt2J24v7RFIMkNSRL9UiYcNhMgIJVIw2NkWlF4LoDRQ8l8DMD4St3 + eKYPMo0laD2+Z4ul7hUjY7pHSDSO+erfySkFpvx83XgtF9d0uJdMXQ3gRuFhwtK7 + Grl7Vu/9cvNCWtBq5/hNdGU1d4Y1HoAK6sooRbwy0JUaXHq08MDhpWQysmPpHBKX + CvvuQQ== + =VfKA + -----END PGP PUBLIC KEY BLOCK----- + apt-preferences: | + Package: * + Pin: origin feeds.toradex.com + Pin-Priority: 900 +