@@ -2,15 +2,15 @@ name: CI
2
2
3
3
on :
4
4
push :
5
- branches : [ develop ]
5
+ branches : [ master ]
6
6
pull_request :
7
- branches : [ develop ]
7
+ branches : [ master ]
8
8
workflow_dispatch :
9
9
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
14
14
15
15
env :
16
16
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
52
52
uses : actions/checkout@v2
53
53
with :
54
54
repository : BatchDrake/sigutils
55
- ref : refs/heads/develop
55
+ ref : refs/heads/master
56
56
path : sigutils
57
57
58
58
- name : Configure CMake (sigutils)
@@ -98,15 +98,22 @@ jobs:
98
98
- name : Install SoapySDR (Pothos)
99
99
run : brew install pothossoapy
100
100
101
+ - name : Creating modules0.8
102
+ run : sudo mkdir -p /usr/local/lib/SoapySDR/modules0.8
103
+
101
104
- name : Install SDRPlay API
102
105
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 /
103
106
104
107
- name : Build and install SoapySDR module for SDRPlay
105
108
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 ../../
106
109
107
110
# soapyaudio removed from due to deprecated hamlib API
111
+ # soapyosmo removed because of random compilation errors
112
+ # soapyuhd removed for the same reason
108
113
- 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
110
117
111
118
- name : Install libxml2
112
119
run : brew install libxml2
@@ -118,11 +125,13 @@ jobs:
118
125
uses : actions/checkout@v2
119
126
with :
120
127
repository : BatchDrake/sigutils
121
- ref : refs/heads/develop
128
+ ref : refs/heads/master
122
129
path : sigutils
123
130
124
131
- 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
126
135
127
136
- name : Build (sigutils)
128
137
run : cmake --build ${{github.workspace}}/sigutils/build --config ${{env.BUILD_TYPE}}
@@ -136,7 +145,99 @@ jobs:
136
145
path : suscan
137
146
138
147
- 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
140
151
141
152
- name : Build (suscan)
142
153
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}}
0 commit comments