mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 02:18:30 +01:00
Disabled raspios CI + added start of noise reduction code
This commit is contained in:
parent
b148fc8a28
commit
2daaf00cb3
35
.github/workflows/build_all.yml
vendored
35
.github/workflows/build_all.yml
vendored
@ -298,30 +298,31 @@ jobs:
|
|||||||
name: sdrpp_ubuntu_impish_amd64
|
name: sdrpp_ubuntu_impish_amd64
|
||||||
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
|
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
|
||||||
|
|
||||||
build_raspios_bullseye:
|
# build_raspios_bullseye:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Create Docker Image
|
# - name: Create Docker Image
|
||||||
run: cd $GITHUB_WORKSPACE/docker_builds/raspios_bullseye && docker build . --tag sdrpp_build
|
# run: cd $GITHUB_WORKSPACE/docker_builds/raspios_bullseye && docker build . --tag sdrpp_build
|
||||||
|
|
||||||
- name: Run Container
|
# - 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
|
# 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
|
# - name: Recover Deb Archive
|
||||||
working-directory: ${{runner.workspace}}
|
# working-directory: ${{runner.workspace}}
|
||||||
run: docker cp build:/root/SDRPlusPlus/sdrpp_raspios_arm32.deb ./
|
# run: docker cp build:/root/SDRPlusPlus/sdrpp_raspios_arm32.deb ./
|
||||||
|
|
||||||
- name: Save Deb Archive
|
# - name: Save Deb Archive
|
||||||
uses: actions/upload-artifact@v2
|
# uses: actions/upload-artifact@v2
|
||||||
with:
|
# with:
|
||||||
name: sdrpp_raspios_bullseye_arm32
|
# name: sdrpp_raspios_bullseye_arm32
|
||||||
path: ${{runner.workspace}}/sdrpp_raspios_arm32.deb
|
# path: ${{runner.workspace}}/sdrpp_raspios_arm32.deb
|
||||||
|
|
||||||
create_full_archive:
|
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
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -119,7 +119,7 @@ int sdrpp_main(int argc, char *argv[]) {
|
|||||||
// Check root directory
|
// Check root directory
|
||||||
if (!std::filesystem::exists(options::opts.root)) {
|
if (!std::filesystem::exists(options::opts.root)) {
|
||||||
spdlog::warn("Root directory {0} does not exist, creating it", 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);
|
spdlog::error("Could not create root directory {0}", options::opts.root);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ echo ' libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsd
|
|||||||
echo ' libcodec2-dev' >> /mnt/root/prepare.sh
|
echo ' libcodec2-dev' >> /mnt/root/prepare.sh
|
||||||
|
|
||||||
# Run prepare.sh script
|
# 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
|
# Setup environment variables
|
||||||
export PKG_CONFIG_PATH=''
|
export PKG_CONFIG_PATH=''
|
||||||
|
Loading…
Reference in New Issue
Block a user