forked from wiedehopf/readsb
-
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.
- Loading branch information
Showing
1 changed file
with
54 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Build Debian arm64 | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*.*.*' | ||
|
||
jobs: | ||
build-debs: | ||
runs-on: buildjet-4vcpu-ubuntu-2204-arm | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
apt install -y aha git make gcc g++ cmake pkg-config librtlsdr-dev whiptail \ | ||
libpq-dev git build-essential debhelper libusb-1.0-0-dev \ | ||
librtlsdr-dev librtlsdr0 pkg-config \ | ||
libncurses-dev zlib1g-dev zlib1g libzstd-dev libzstd1 | ||
- uses: jtdor/build-deb-action@v1 | ||
env: | ||
DEB_BUILD_OPTIONS: noautodbgsym | ||
with: | ||
buildpackage-opts: --build=binary --no-sign --build-profiles=rtlsdr | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: artifact-deb | ||
path: | | ||
*.deb | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
draft: false | ||
prerelease: false | ||
|
||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: | | ||
*.deb | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
file_glob: true |