Disabled raspios CI + added start of noise reduction code

pull/530/head
AlexandreRouma 2021-11-28 03:17:08 +01:00
rodzic b148fc8a28
commit 2daaf00cb3
3 zmienionych plików z 20 dodań i 19 usunięć

Wyświetl plik

@ -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:

Wyświetl plik

@ -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;
}

Wyświetl plik

@ -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=''