1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-27 18:28:54 -05:00

Compare commits

..

13 Commits

Author SHA1 Message Date
Edouard Griffiths
9161fc1c05
Merge pull request #2306 from srcejon/snap
Don't build Snaps on pull requests
2024-11-02 16:44:20 +01:00
Edouard Griffiths
fd168e881a
Merge pull request #2305 from srcejon/linux_github_release
github action to build ubuntu 22.04 and 24.04 release .debs
2024-11-02 15:31:07 +01:00
Jon Beniston
df6cefbd69 Merge branch 'snap' of https://github.com/srcejon/sdrangel into snap 2024-11-02 10:07:52 +00:00
Jon Beniston
23a8fdeb86 Don't build snap on pull requests. 2024-11-02 10:07:41 +00:00
Jon Beniston
feabcef336 libgl1-mesa-glx replaced by libgl1 and libglx-mesa0, 2024-11-02 08:56:21 +00:00
Jon Beniston
c72a72b3f8 ubuntu-20.04 doesn't support required version of cmake 2024-11-01 22:01:42 +00:00
Jon Beniston
00df25ff63 Try ubuntu-20.04 2024-11-01 21:31:45 +00:00
Jon Beniston
8f030d9ea5 Upload artifact doesn't like relative paths. 2024-11-01 19:57:29 +00:00
Jon Beniston
bd8853f2e9 Build for both ubuntu-22.04 and ubuntu-24.04 2024-11-01 18:58:26 +00:00
Jon Beniston
8c7e650f8f Update limesuite to v23.11.0 to see if it builds on ubuntu-24.04 2024-11-01 18:57:37 +00:00
Jon Beniston
e6e6084e1c Try ubuntu-22.04 2024-11-01 18:01:19 +00:00
Jon Beniston
dc330b7d5b Remove libclang1-11 2024-11-01 17:47:33 +00:00
Jon Beniston
1ecaa22721 Trial .deb build 2024-11-01 17:42:11 +00:00
4 changed files with 65 additions and 3 deletions

62
.github/workflows/linux.yml vendored Normal file
View File

@ -0,0 +1,62 @@
name: SDRangel Linux release build
on:
push:
branches:
- linux_github_release
tags:
- 'v*'
jobs:
build_deb:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-24.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get -y install build-essential cmake git xxd \
devscripts fakeroot debhelper libfftw3-dev qtbase5-dev libopengl-dev libqt5opengl5-dev \
qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins libqt5websockets5-dev \
libqt5quick5 qtwebengine5-dev qtbase5-private-dev \
qml-module-qtlocation qml-module-qtpositioning qml-module-qtquick-window2 qml-module-qtquick-dialogs \
qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtgraphicaleffects \
libqt5serialport5-dev qtdeclarative5-dev qtpositioning5-dev qtlocation5-dev \
libqt5charts5-dev libqt5texttospeech5-dev libqt5gamepad5-dev libqt5svg5-dev libfaad-dev libflac-dev zlib1g-dev \
libusb-1.0-0-dev libhidapi-dev libboost-all-dev libasound2-dev libopencv-dev libopencv-imgcodecs-dev \
libxml2-dev bison flex ffmpeg libpostproc-dev libavcodec-dev libavformat-dev \
libopus-dev libcodec2-dev libairspy-dev libhackrf-dev \
libbladerf-dev libsoapysdr-dev libiio-dev libuhd-dev libhamlib-dev \
python3-mako python3-cheetah python3-numpy \
autoconf automake libtool ninja-build
bash cmake/ci/build_sdrplay.sh
- name: Build SDRangel
run: |
debuild -i -us -uc -b
- name: Get version
id: get_version
run: |
if [[ "${{github.ref_name}}" == "linux_github_release" ]]; then
echo "version=$(echo ${{github.sha}} | cut -c1-7)" >> $GITHUB_OUTPUT
else
echo "version=$(echo ${{github.ref_name}} | cut -c2-)" >> $GITHUB_OUTPUT
fi
- name: Rename
run: mv ../sdrangel_*_amd64.deb sdrangel_${{ steps.get_version.outputs.version }}_${{ matrix.os }}_amd64.deb
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: sdrangel_${{ steps.get_version.outputs.version }}_${{ matrix.os }}_amd64.deb
path: sdrangel_${{ steps.get_version.outputs.version }}_${{ matrix.os }}_amd64.deb
- name: Upload release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: sdrangel_${{ steps.get_version.outputs.version }}_${{ matrix.os }}_amd64.deb

View File

@ -7,7 +7,6 @@ on:
- snap
tags:
- 'v*'
pull_request:
jobs:
build_snap:

3
debian/control vendored
View File

@ -63,7 +63,8 @@ Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
libasound2,
libgl1-mesa-glx,
libgl1,
libglx-mesa0,
libqt5multimedia5-plugins,
libqt5gamepad5,
libqt5svg5,

View File

@ -13,7 +13,7 @@ set(CM256CC_TAG c0e92b92aca3d1d36c990b642b937c64d363c559)
set(MBELIB_TAG fe83b32c6a60cdd7bce8cecf3c7a0b9ec87a7667)
set(SERIALDV_TAG "v1.1.4")
set(DSDCC_TAG "v1.9.5")
set(LIMESUITE_TAG 70e3859a55d8d5353963a5318013c8454594769f)
set(LIMESUITE_TAG "v23.11.0")
set(BLADERF_TAG "2021.02")
set(LIBIIO_TAG 826563e41b5ce9890b75506f672017de8d76d52d)
set(AIRSPYHF_TAG "1af81c0ca18944b8c9897c3c98dc0a991815b686")