mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-13 03:37:10 +01:00
Fixed CI for debian 10 and 11
This commit is contained in:
parent
a4ce0c8868
commit
8596c26f7e
16
.github/workflows/build_linux_amd64.yml
vendored
16
.github/workflows/build_linux_amd64.yml
vendored
@ -99,17 +99,17 @@ jobs:
|
|||||||
name: sdrpp_windows_x64
|
name: sdrpp_windows_x64
|
||||||
path: ${{runner.workspace}}/sdrpp_windows_x64.zip
|
path: ${{runner.workspace}}/sdrpp_windows_x64.zip
|
||||||
|
|
||||||
build_debian10:
|
build_debian_buster:
|
||||||
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/debian10 && docker build . --tag sdrpp_build
|
run: cd $GITHUB_WORKSPACE/docker_builds/debian_buster && docker build . --tag sdrpp_build
|
||||||
|
|
||||||
- name: Run Container
|
- name: Run Container
|
||||||
run: docker run --name build -it sdrpp_build /root/do_build.sh
|
run: docker run --name build sdrpp_build /root/do_build.sh
|
||||||
|
|
||||||
- name: Recover Deb Archive
|
- name: Recover Deb Archive
|
||||||
run: docker cp build:/root/SDRPlusPlus/sdrpp_debian_amd64.deb ./
|
run: docker cp build:/root/SDRPlusPlus/sdrpp_debian_amd64.deb ./
|
||||||
@ -117,20 +117,20 @@ jobs:
|
|||||||
- name: Save Deb Archive
|
- name: Save Deb Archive
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: sdrpp_debian10_amd64
|
name: sdrpp_debian_buster_amd64
|
||||||
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
|
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
|
||||||
|
|
||||||
build_debian11:
|
build_debian_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/debian11 && docker build . --tag sdrpp_build
|
run: cd $GITHUB_WORKSPACE/docker_builds/debian_bullseye && docker build . --tag sdrpp_build
|
||||||
|
|
||||||
- name: Run Container
|
- name: Run Container
|
||||||
run: docker run --name build -it sdrpp_build /root/do_build.sh
|
run: docker run --name build sdrpp_build /root/do_build.sh
|
||||||
|
|
||||||
- name: Recover Deb Archive
|
- name: Recover Deb Archive
|
||||||
run: docker cp build:/root/SDRPlusPlus/sdrpp_debian_amd64.deb ./
|
run: docker cp build:/root/SDRPlusPlus/sdrpp_debian_amd64.deb ./
|
||||||
@ -138,5 +138,5 @@ jobs:
|
|||||||
- name: Save Deb Archive
|
- name: Save Deb Archive
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: sdrpp_debian11_amd64
|
name: sdrpp_debian_bullseye_amd64
|
||||||
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
|
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
|
@ -1,2 +0,0 @@
|
|||||||
FROM debian:10
|
|
||||||
COPY do_build.sh /root
|
|
@ -1,17 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
cd /root
|
|
||||||
|
|
||||||
apt update
|
|
||||||
apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libglew-dev libvolk1-dev libsoapysdr-dev libairspyhf-dev libairspy-dev libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev
|
|
||||||
|
|
||||||
git clone https://github.com/AlexandreRouma/SDRPlusPlus
|
|
||||||
|
|
||||||
cd SDRPlusPlus
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake ..
|
|
||||||
make -j2
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
sh make_debian_package.sh ./build
|
|
@ -1,2 +0,0 @@
|
|||||||
FROM debian:11
|
|
||||||
COPY do_build.sh /root
|
|
@ -1,17 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
cd /root
|
|
||||||
|
|
||||||
apt update
|
|
||||||
apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libglew-dev libvolk2-dev libsoapysdr-dev libairspyhf-dev libairspy-dev libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev
|
|
||||||
|
|
||||||
git clone https://github.com/AlexandreRouma/SDRPlusPlus
|
|
||||||
|
|
||||||
cd SDRPlusPlus
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake ..
|
|
||||||
make -j2
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
sh make_debian_package.sh ./build
|
|
Loading…
Reference in New Issue
Block a user