kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
Disabled raspios CI + added start of noise reduction code
rodzic
b148fc8a28
commit
2daaf00cb3
|
@ -298,30 +298,31 @@ jobs:
|
|||
name: sdrpp_ubuntu_impish_amd64
|
||||
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
|
||||
|
||||
build_raspios_bullseye:
|
||||
runs-on: ubuntu-latest
|
||||
# build_raspios_bullseye:
|
||||
# runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
|
||||
- name: Create Docker Image
|
||||
run: cd $GITHUB_WORKSPACE/docker_builds/raspios_bullseye && docker build . --tag sdrpp_build
|
||||
# - name: Create Docker Image
|
||||
# run: cd $GITHUB_WORKSPACE/docker_builds/raspios_bullseye && docker build . --tag sdrpp_build
|
||||
|
||||
- name: Run Container
|
||||
run: docker run --privileged --name build -v $GITHUB_WORKSPACE:/root/SDRPlusPlus --env BUILD_NO="-$GITHUB_RUN_NUMBER" sdrpp_build /root/do_build.sh
|
||||
# - name: Run Container
|
||||
# run: docker run --privileged --name build -v $GITHUB_WORKSPACE:/root/SDRPlusPlus --env BUILD_NO="-$GITHUB_RUN_NUMBER" sdrpp_build /root/do_build.sh
|
||||
|
||||
- name: Recover Deb Archive
|
||||
working-directory: ${{runner.workspace}}
|
||||
run: docker cp build:/root/SDRPlusPlus/sdrpp_raspios_arm32.deb ./
|
||||
# - name: Recover Deb Archive
|
||||
# working-directory: ${{runner.workspace}}
|
||||
# run: docker cp build:/root/SDRPlusPlus/sdrpp_raspios_arm32.deb ./
|
||||
|
||||
- name: Save Deb Archive
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: sdrpp_raspios_bullseye_arm32
|
||||
path: ${{runner.workspace}}/sdrpp_raspios_arm32.deb
|
||||
# - name: Save Deb Archive
|
||||
# uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
# name: sdrpp_raspios_bullseye_arm32
|
||||
# path: ${{runner.workspace}}/sdrpp_raspios_arm32.deb
|
||||
|
||||
create_full_archive:
|
||||
needs: ['build_windows', 'build_macos', 'build_debian_buster', 'build_debian_bullseye', 'build_debian_sid', 'build_ubuntu_bionic', 'build_ubuntu_focal', 'build_ubuntu_groovy', 'build_ubuntu_hirsute', 'build_ubuntu_impish', 'build_raspios_bullseye']
|
||||
# needs: ['build_windows', 'build_macos', 'build_debian_buster', 'build_debian_bullseye', 'build_debian_sid', 'build_ubuntu_bionic', 'build_ubuntu_focal', 'build_ubuntu_groovy', 'build_ubuntu_hirsute', 'build_ubuntu_impish', 'build_raspios_bullseye']
|
||||
needs: ['build_windows', 'build_macos', 'build_debian_buster', 'build_debian_bullseye', 'build_debian_sid', 'build_ubuntu_bionic', 'build_ubuntu_focal', 'build_ubuntu_groovy', 'build_ubuntu_hirsute', 'build_ubuntu_impish']
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
|
|
@ -119,7 +119,7 @@ int sdrpp_main(int argc, char *argv[]) {
|
|||
// Check root directory
|
||||
if (!std::filesystem::exists(options::opts.root)) {
|
||||
spdlog::warn("Root directory {0} does not exist, creating it", options::opts.root);
|
||||
if (!std::filesystem::create_directory(options::opts.root)) {
|
||||
if (!std::filesystem::create_directories(options::opts.root)) {
|
||||
spdlog::error("Could not create root directory {0}", options::opts.root);
|
||||
return -1;
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ echo ' libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsd
|
|||
echo ' libcodec2-dev' >> /mnt/root/prepare.sh
|
||||
|
||||
# Run prepare.sh script
|
||||
chroot /mnt /bin/qemu-arm-static '/bin/bash /root/prepare.sh'
|
||||
chroot /mnt /bin/qemu-arm-static /bin/bash /root/prepare.sh
|
||||
|
||||
# Setup environment variables
|
||||
export PKG_CONFIG_PATH=''
|
||||
|
|
Ładowanie…
Reference in New Issue