forked from wiedehopf/readsb
-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (47 loc) · 1.39 KB
/
build_arm64.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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: |
./debian/artifacts/*.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: Locate artifacts
run: ls -alR
- name: Upload Release Asset
id: upload-release-asset
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./debian/artifacts/*.deb
tag: ${{ github.ref }}
overwrite: true
file_glob: true