Trying alternative path for cross compilation #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Deb package | |
on: | |
push: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: arm64 | |
- name: Build Debian packages | |
uses: jtdor/[email protected] | |
with: | |
# Name of a Docker image or path of a Dockerfile to use for the build container | |
docker-image: debian:bookworm-slim | |
# Extra packages to be installed as build dependencies | |
extra-build-deps: dh-python | |
# Foreign architecture to setup cross-compilation for | |
#host-arch: arm64 | |
extra-docker-args: --platform linux/arm64 |