Skip to content

Commit

Permalink
Update build action
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodmg committed Jul 8, 2024
1 parent dce1264 commit bfffd73
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/build-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,25 @@ on:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
build:
build-amd64:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- 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
- name: Archive build artifacts
uses: actions/upload-artifact@v4
with:
name: build
path: debian/artifacts/*

build-arm64:
runs-on: ubuntu-latest

steps:
Expand All @@ -24,11 +42,9 @@ jobs:
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*
path: debian/artifacts/*

0 comments on commit bfffd73

Please sign in to comment.