-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build Debian package for AARCH64 and ARM32 in Github CI/CD.
- Loading branch information
Showing
2 changed files
with
62 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|