Skip to content

Commit 37dad54

Browse files
committed
Merge branch 'develop'
2 parents 3b66296 + ac2f8df commit 37dad54

Some content is hidden

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

142 files changed

+155702
-2957
lines changed

.github/workflows/cmake.yml

+112-11
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: CI
22

33
on:
44
push:
5-
branches: [ develop ]
5+
branches: [ master ]
66
pull_request:
7-
branches: [ develop ]
7+
branches: [ master ]
88
workflow_dispatch:
99
inputs:
10-
debug_enabled:
11-
description: 'Build and run interactive shell'
12-
required: false
13-
default: false
10+
debug_enabled:
11+
description: 'Build and run interactive shell'
12+
required: false
13+
default: false
1414

1515
env:
1616
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
@@ -52,7 +52,7 @@ jobs:
5252
uses: actions/checkout@v2
5353
with:
5454
repository: BatchDrake/sigutils
55-
ref: refs/heads/develop
55+
ref: refs/heads/master
5656
path: sigutils
5757

5858
- name: Configure CMake (sigutils)
@@ -98,15 +98,22 @@ jobs:
9898
- name: Install SoapySDR (Pothos)
9999
run: brew install pothossoapy
100100

101+
- name: Creating modules0.8
102+
run: sudo mkdir -p /usr/local/lib/SoapySDR/modules0.8
103+
101104
- name: Install SDRPlay API
102105
run: wget https://www.sdrplay.com/software/SDRplay_RSP_API-MacOSX-3.07.3.pkg && sudo installer -pkg SDRplay_RSP_API-MacOSX-3.07.3.pkg -target /
103106

104107
- name: Build and install SoapySDR module for SDRPlay
105108
run: git clone https://github.com/pothosware/SoapySDRPlay3 && cd SoapySDRPlay3 && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make -j3 && sudo make install && cd ../../
106109

107110
# soapyaudio removed from due to deprecated hamlib API
111+
# soapyosmo removed because of random compilation errors
112+
# soapyuhd removed for the same reason
108113
- name: Install SoapySDR modules (Pothos)
109-
run: brew install soapyrtlsdr soapyhackrf soapybladerf soapyairspy soapyairspyhf soapyosmo soapyuhd soapyredpitaya soapyiris limesuite soapyplutosdr
114+
run: |
115+
sudo chmod -R a+rw /usr/local/lib/SoapySDR/modules0.8
116+
brew install soapyrtlsdr soapyhackrf soapybladerf soapyairspy soapyairspyhf soapyredpitaya soapyiris limesuite soapyplutosdr
110117
111118
- name: Install libxml2
112119
run: brew install libxml2
@@ -118,11 +125,13 @@ jobs:
118125
uses: actions/checkout@v2
119126
with:
120127
repository: BatchDrake/sigutils
121-
ref: refs/heads/develop
128+
ref: refs/heads/master
122129
path: sigutils
123130

124131
- name: Configure CMake (sigutils)
125-
run: cmake -DCMAKE_INSTALL_PREFIX=/usr -B ${{github.workspace}}/sigutils/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} sigutils
132+
run: |
133+
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
134+
cmake -B ${{github.workspace}}/sigutils/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} sigutils
126135
127136
- name: Build (sigutils)
128137
run: cmake --build ${{github.workspace}}/sigutils/build --config ${{env.BUILD_TYPE}}
@@ -136,7 +145,99 @@ jobs:
136145
path: suscan
137146

138147
- name: Configure CMake (suscan)
139-
run: cmake -DCMAKE_INSTALL_PREFIX=/usr -B ${{github.workspace}}/suscan/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} suscan
148+
run: |
149+
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
150+
cmake -B ${{github.workspace}}/suscan/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} suscan
140151
141152
- name: Build (suscan)
142153
run: cmake --build ${{github.workspace}}/suscan/build --config ${{env.BUILD_TYPE}}
154+
155+
build-windows:
156+
runs-on: windows-latest
157+
defaults:
158+
run:
159+
shell: msys2 {0}
160+
steps:
161+
- uses: actions/checkout@v2
162+
- uses: msys2/setup-msys2@v2
163+
with:
164+
msystem: MINGW64
165+
update: true
166+
install: git mingw-w64-x86_64-cc mingw-w64-x86_64-make mingw-w64-x86_64-cmake mingw-w64-x86_64-libsndfile mingw-w64-x86_64-fftw mingw-w64-x86_64-volk mingw-w64-x86_64-libxml2 mingw-w64-x86_64-libusb
167+
168+
# SigUtils
169+
- name: Checkout (sigutils)
170+
uses: actions/checkout@v2
171+
with:
172+
repository: BatchDrake/sigutils
173+
ref: refs/heads/master
174+
path: sigutils
175+
176+
- name: Configure sigutils
177+
run: /mingw64/bin/cmake -G"MinGW Makefiles" -B D:\\a\\suscan\\suscan\\sigutils\\build -DCMAKE_INSTALL_PREFIX:PATH=C:\\msys64\\mingw64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} D:\\a\\suscan\\suscan\\sigutils
178+
179+
- name: Build sigutils
180+
run: /mingw64/bin/cmake --build D:\\a\\suscan\\suscan\\sigutils\\build --config ${{env.BUILD_TYPE}}
181+
182+
- name: Install sigutils
183+
run: /mingw64/bin/cmake --build D:\\a\\suscan\\suscan\\sigutils\\build --config ${{env.BUILD_TYPE}} --target install
184+
185+
# SoapySDR
186+
- name: Checkout (soapysdr)
187+
uses: actions/checkout@v2
188+
with:
189+
repository: pothosware/SoapySDR
190+
ref: refs/heads/master
191+
path: SoapySDR
192+
193+
- name: Configure
194+
run: /mingw64/bin/cmake -G"MinGW Makefiles" -B D:\\a\\suscan\\suscan\\SoapySDR\\build -DCMAKE_INSTALL_PREFIX:PATH=C:\\msys64\\mingw64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} D:\\a\\suscan\\suscan\\SoapySDR\\
195+
196+
- name: Build
197+
run: /mingw64/bin/cmake --build D:\\a\\suscan\\suscan\\SoapySDR\\build --config ${{env.BUILD_TYPE}}
198+
199+
- name: Install sigutils
200+
run: /mingw64/bin/cmake --build D:\\a\\suscan\\suscan\\SoapySDR\\build --config ${{env.BUILD_TYPE}} --target install
201+
202+
# BatchDrake's fixed rtl-sdr
203+
- name: Checkout (rtl-sdr-blog)
204+
uses: actions/checkout@v2
205+
with:
206+
repository: BatchDrake/rtl-sdr-blog
207+
ref: refs/heads/feature/xfer-completion
208+
path: rtl-sdr-blog
209+
210+
- name: Configure
211+
run: /mingw64/bin/cmake -G"MinGW Makefiles" -B D:\\a\\suscan\\suscan\\rtl-sdr-blog\\build -DCMAKE_INSTALL_PREFIX:PATH=C:\\msys64\\mingw64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} D:\\a\\suscan\\suscan\\rtl-sdr-blog\\
212+
213+
- name: Build
214+
run: /mingw64/bin/cmake --build D:\\a\\suscan\\suscan\\rtl-sdr-blog\\build --config ${{env.BUILD_TYPE}}
215+
216+
- name: Install
217+
run: /mingw64/bin/cmake --build D:\\a\\suscan\\suscan\\rtl-sdr-blog\\build --config ${{env.BUILD_TYPE}} --target install
218+
219+
# SoapyRTLSDR
220+
- name: Checkout (soapyrtlsdr)
221+
uses: actions/checkout@v2
222+
with:
223+
repository: pothosware/SoapyRTLSDR
224+
ref: refs/heads/master
225+
path: SoapyRTLSDR
226+
227+
- name: Configure
228+
run: /mingw64/bin/cmake -G"MinGW Makefiles" -B D:\\a\\suscan\\suscan\\SoapyRTLSDR/build -DCMAKE_INSTALL_PREFIX:PATH=C:\\msys64\\mingw64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} D:\\a\\suscan\\suscan\\SoapyRTLSDR\\
229+
230+
- name: Build
231+
run: /mingw64/bin/cmake --build D:\\a\\suscan\\suscan\\SoapyRTLSDR\\build --config ${{env.BUILD_TYPE}}
232+
233+
- name: Install
234+
run: /mingw64/bin/cmake --build D:\\a\\suscan\\suscan\\SoapyRTLSDR\\build --config ${{env.BUILD_TYPE}} --target install
235+
236+
# suscan
237+
- name: Configure CMake
238+
run: |
239+
export PKG_CONFIG_PATH=C:\\msys64\\mingw64\\lib\\pkgconfig\\
240+
/mingw64/bin/cmake -B D:\\a\\suscan\\suscan\\build -G"MinGW Makefiles" -DCMAKE_INSTALL_PREFIX:PATH=C:\\msys64\\mingw64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} D:\\a\\suscan\\suscan\\
241+
242+
- name: Build
243+
run: /mingw64/bin/cmake --build D:\\a\\suscan\\suscan\\build --config ${{env.BUILD_TYPE}}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build/

0 commit comments

Comments
 (0)