Skip to content

Commit f13f603

Browse files
authored
Merge pull request #7 from f4exb/master
merging upgrade
2 parents 1787bd1 + 1cff66a commit f13f603

632 files changed

Lines changed: 46775 additions & 3504 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/flatpak.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: SDRangel Flatpak Build
2+
3+
on:
4+
push:
5+
branches:
6+
- flatpak
7+
tags:
8+
- 'v*'
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: write
13+
14+
jobs:
15+
build_flatpak:
16+
runs-on: ubuntu-latest
17+
env:
18+
ARCH: x86_64
19+
container:
20+
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
21+
options: --privileged
22+
steps:
23+
- uses: actions/checkout@v4
24+
with:
25+
submodules: true
26+
fetch-depth: 0
27+
- name: Get version
28+
id: get_version
29+
run: |
30+
if [[ "$GITHUB_REF_TYPE" == "tag" ]]; then
31+
version="${GITHUB_REF_NAME#v}"
32+
elif [[ "$GITHUB_REF_NAME" == "flatpak" ]]; then
33+
version="${GITHUB_SHA::8}"
34+
else
35+
version="${GITHUB_REF_NAME//\//-}-${GITHUB_SHA::8}"
36+
fi
37+
echo "version=$version" >> "$GITHUB_OUTPUT"
38+
echo "bundle=sdrangel-$version-${{ env.ARCH }}.flatpak" >> "$GITHUB_OUTPUT"
39+
- name: Build Flatpak
40+
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
41+
with:
42+
bundle: ${{ steps.get_version.outputs.bundle }}
43+
manifest-path: flatpak/org.sdrangel.SDRangel.yaml
44+
cache-key: flatpak-builder-${{ hashFiles('flatpak/**') }}
45+
- name: Upload artifact
46+
uses: actions/upload-artifact@v4
47+
with:
48+
name: ${{ steps.get_version.outputs.bundle }}
49+
path: ${{ steps.get_version.outputs.bundle }}
50+
- name: Upload release
51+
if: startsWith(github.ref, 'refs/tags/')
52+
uses: softprops/action-gh-release@v2
53+
with:
54+
files: ${{ steps.get_version.outputs.bundle }}

.github/workflows/linux.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- linux_github_release
77
tags:
88
- 'v*'
9+
workflow_dispatch:
910

1011
jobs:
1112
build_deb:
@@ -37,12 +38,21 @@ jobs:
3738
libxml2-dev bison flex ffmpeg libpostproc-dev libavcodec-dev libavformat-dev \
3839
libopus-dev libcodec2-dev libairspy-dev libhackrf-dev \
3940
libbladerf-dev libsoapysdr-dev libiio-dev libuhd-dev libhamlib-dev libunwind-dev \
41+
libavahi-client-dev libavahi-common-dev libaio-dev \
4042
python3-mako python3-cheetah python3-numpy \
4143
autoconf automake libtool ninja-build
4244
bash cmake/ci/build_sdrplay.sh
4345
- name: Build SDRangel
4446
run: |
45-
debuild -i -us -uc -b
47+
if [ "${RUNNING_IN_ACT:-}" = "true" ]; then
48+
mkdir -p /tmp/build
49+
rsync -a --delete . /tmp/build/sdrangel/
50+
cd /tmp/build/sdrangel
51+
debuild -i -us -uc -b
52+
cp ../sdrangel_*_amd64.deb "$GITHUB_WORKSPACE"/
53+
else
54+
debuild -i -us -uc -b
55+
fi
4656
- name: Get version
4757
id: get_version
4858
run: |

.github/workflows/mac.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- mac_ci
77
tags:
88
- 'v*'
9+
workflow_dispatch:
910

1011
jobs:
1112
build_mac_x64:

.github/workflows/sdrangel.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
tags-ignore:
1313
- 'v*'
1414
pull_request:
15+
workflow_dispatch:
1516

1617
jobs:
1718
build:

.github/workflows/snap.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- snap
88
tags:
99
- 'v*'
10+
workflow_dispatch:
1011

1112
jobs:
1213
build_snap:

.github/workflows/windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- windows_release
77
tags:
88
- 'v*'
9+
workflow_dispatch:
910

1011
jobs:
1112
build:

0 commit comments

Comments
 (0)