Skip to content

Commit

Permalink
Build Debian package for AARCH64 and ARM32 in Github CI/CD.
Browse files Browse the repository at this point in the history
  • Loading branch information
qkaiser authored and vlaci committed Feb 28, 2023
1 parent a0d350d commit 25eb013
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 9 deletions.
34 changes: 31 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,42 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
build_amd64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Debian package
uses: dawidd6/[email protected].0
- name: Build Debian package (AMD64)
uses: dawidd6/[email protected].4
with:
os_distribution: bullseye
cpu_architecture: amd64
- name: Upload DEB artifacts
uses: actions/upload-artifact@v2
with:
path: ${{ github.workspace }}/*.deb
build_arm64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Debian package (AARCH64)
uses: dawidd6/[email protected]
with:
os_distribution: bullseye
cpu_architecture: arm64
- name: Upload DEB artifacts
uses: actions/upload-artifact@v2
with:
path: ${{ github.workspace }}/*.deb
if-no-files-found: error
build_arm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Debian package (ARM32)
uses: dawidd6/[email protected]
with:
os_distribution: bullseye
cpu_architecture: arm
- name: Upload DEB artifacts
uses: actions/upload-artifact@v2
with:
Expand Down
37 changes: 31 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,42 @@ on:
- "sasquatch-v*"

jobs:
build:
build_amd64:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build Debian package
uses: dawidd6/[email protected]
- uses: actions/checkout@v2
- name: Build Debian package (AMD64)
uses: dawidd6/[email protected]
with:
os_distribution: bullseye
cpu_architecture: amd64
- name: Release
uses: softprops/action-gh-release@v1
with:
files: ${{ github.workspace }}/*.deb
build_arm64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Debian package (AARCH64)
uses: dawidd6/[email protected]
with:
os_distribution: bullseye
cpu_architecture: arm64
- name: Release
uses: softprops/action-gh-release@v1
with:
files: ${{ github.workspace }}/*.deb
build_arm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Debian package (ARM32)
uses: dawidd6/[email protected]
with:
os_distribution: bullseye
cpu_architecture: arm
- name: Release
uses: softprops/action-gh-release@v1
with:
files: ${{ github.workspace }}/*.deb

0 comments on commit 25eb013

Please sign in to comment.