-
-
Notifications
You must be signed in to change notification settings - Fork 20
34 lines (31 loc) · 1009 Bytes
/
build-deb.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Build Deb package
on:
workflow_dispatch:
push:
# Sequence of patterns matched against refs/tags
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
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 dh-cmake
# Foreign architecture to setup cross-compilation for
#host-arch: arm64
extra-docker-args: --platform linux/arm64
- name: Archive build artifacts
uses: actions/upload-artifact@v4
with:
name: build
path: ~/linamp*