Added automatic build to actions

pull/66/head
Ryzerth 2021-01-29 17:24:10 +01:00
rodzic 1ebcfe7d80
commit 898525a6d8
3 zmienionych plików z 15 dodań i 0 usunięć

Wyświetl plik

@ -43,3 +43,14 @@ jobs:
shell: bash
# Execute the build. You can specify a specific target with "--target <NAME>"
run: cmake --build . --config $BUILD_TYPE
- name: Create package
working-directory: ${{runner.workspace}}
shell: bash
run: sh make_debian_package.sh ./build
- name: Save built package
uses: actions/upload-artifact@v2
with:
name: debian-package
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb

Wyświetl plik

@ -34,6 +34,7 @@ echo Copy modules
cp $1/radio/radio.so sdrpp_debian_amd64/usr/lib/sdrpp/plugins/
cp $1/recorder/recorder.so sdrpp_debian_amd64/usr/lib/sdrpp/plugins/
cp $1/airspyhf_source/airspyhf_source.so sdrpp_debian_amd64/usr/lib/sdrpp/plugins/
cp $1/airspy_source/airspy_source.so sdrpp_debian_amd64/usr/lib/sdrpp/plugins/
cp $1/plutosdr_source/plutosdr_source.so sdrpp_debian_amd64/usr/lib/sdrpp/plugins/
cp $1/rtl_tcp_source/rtl_tcp_source.so sdrpp_debian_amd64/usr/lib/sdrpp/plugins/
cp $1/soapy_source/soapy_source.so sdrpp_debian_amd64/usr/lib/sdrpp/plugins/

Wyświetl plik

@ -15,6 +15,9 @@ cp build/recorder/Release/recorder.dll sdrpp_windows_x64/modules/
cp build/airspyhf_source/Release/airspyhf_source.dll sdrpp_windows_x64/modules/
cp 'C:/Program Files/PothosSDR/bin/airspyhf.dll' sdrpp_windows_x64/
cp build/airspy_source/Release/airspy_source.dll sdrpp_windows_x64/modules/
cp 'C:/Program Files/PothosSDR/bin/airspy.dll' sdrpp_windows_x64/
cp build/plutosdr_source/Release/plutosdr_source.dll sdrpp_windows_x64/modules/
cp 'C:/Program Files/PothosSDR/bin/libiio.dll' sdrpp_windows_x64/
cp 'C:/Program Files/PothosSDR/bin/libad9361.dll' sdrpp_windows_x64/