Bladeren bron

Update building pipeline.

tags/v4.0.0-beta.1
Luigi Cruz 4 jaren geleden
bovenliggende
commit
84520a3103
31 gewijzigde bestanden met toevoegingen van 12 en 29 verwijderingen
  1. +2
    -1
      .github/workflows/release.yml
  2. +2
    -1
      .github/workflows/validate.yml
  3. +1
    -1
      builder/Dockerfile
  4. +1
    -1
      builder/build.sh
  5. +2
    -2
      builder/export-image/04-finalise/01-run.sh
  6. +3
    -0
      builder/stage4/05-pisdr-gnuradio/00-packages-nr
  7. +0
    -1
      builder/stage4/05-pisdr-gnuradio/00-run.sh
  8. +0
    -1
      builder/stage4/06-pisdr-soapysdr/01-run.sh
  9. +0
    -1
      builder/stage4/06-pisdr-soapysdr/02-run.sh
  10. +1
    -1
      builder/stage4/06-pisdr-soapysdr/03-run.sh
  11. +0
    -1
      builder/stage4/07-pisdr-limesdr/00-run.sh
  12. +0
    -1
      builder/stage4/07-pisdr-limesdr/01-run.sh
  13. +0
    -1
      builder/stage4/08-pisdr-airspy/00-run.sh
  14. +0
    -1
      builder/stage4/08-pisdr-airspy/01-run.sh
  15. +0
    -1
      builder/stage4/08-pisdr-airspy/02-run.sh
  16. +0
    -1
      builder/stage4/09-pisdr-rtlsdr/00-run.sh
  17. +0
    -1
      builder/stage4/09-pisdr-rtlsdr/01-run.sh
  18. +0
    -1
      builder/stage4/10-pisdr-plutosdr/00-run.sh
  19. +0
    -1
      builder/stage4/10-pisdr-plutosdr/01-run.sh
  20. +0
    -1
      builder/stage4/10-pisdr-plutosdr/02-run.sh
  21. +0
    -1
      builder/stage4/10-pisdr-plutosdr/03-run.sh
  22. +0
    -1
      builder/stage4/11-pisdr-osmocom/00-run.sh
  23. +0
    -0
      builder/stage4/12-pisdr-sdrangel/00-packages-nr
  24. +0
    -1
      builder/stage4/12-pisdr-sdrangel/00-run.sh
  25. +0
    -1
      builder/stage4/12-pisdr-sdrangel/01-run.sh
  26. +0
    -1
      builder/stage4/12-pisdr-sdrangel/02-run.sh
  27. +0
    -1
      builder/stage4/12-pisdr-sdrangel/03-run.sh
  28. +0
    -1
      builder/stage4/12-pisdr-sdrangel/04-run.sh
  29. +0
    -1
      builder/stage4/12-pisdr-sdrangel/05-run.sh
  30. +0
    -0
      builder/stage4/13-pisdr-gqrx/00-packages-nr
  31. +0
    -1
      builder/stage4/13-pisdr-gqrx/00-run.sh

+ 2
- 1
.github/workflows/release.yml Bestand weergeven

@@ -9,6 +9,7 @@ jobs:
build:
name: Build & Release Image
runs-on: ubuntu-latest
timeout-minutes: 2880
env:
working-directory: ./builder
steps:
@@ -19,7 +20,7 @@ jobs:
working-directory: ${{ env.working-directory }}
run: |
bash build-docker.sh
echo ::set-output name=filename::$(ls deploy/*.zip | xargs -n 1 basename)
echo ::set-output name=filename::$(ls deploy/*.tar.xz | xargs -n 1 basename)
- name: Fix Permissions
id: fix_perm_filename
run: |


+ 2
- 1
.github/workflows/validate.yml Bestand weergeven

@@ -6,6 +6,7 @@ jobs:
build:
name: Build & Validate Image
runs-on: ubuntu-latest
timeout-minutes: 2880
env:
working-directory: ./builder
steps:
@@ -16,7 +17,7 @@ jobs:
working-directory: ${{ env.working-directory }}
run: |
bash build-docker.sh
echo ::set-output name=filename::$(ls deploy/*.zip | xargs -n 1 basename)
echo ::set-output name=filename::$(ls deploy/*.tar.xz | xargs -n 1 basename)
- name: Fix Permissions
id: fix_perm_filename
run: |


+ 1
- 1
builder/Dockerfile Bestand weergeven

@@ -1,4 +1,4 @@
FROM debian:buster
FROM i386/debian:buster

ENV DEBIAN_FRONTEND noninteractive



+ 1
- 1
builder/build.sh Bestand weergeven

@@ -154,7 +154,7 @@ fi
export USE_QEMU="${USE_QEMU:-0}"
export IMG_DATE="${IMG_DATE:-"$(date +%Y-%m-%d)"}"
export IMG_FILENAME="${IMG_FILENAME:-"${IMG_DATE}-${IMG_NAME}"}"
export ZIP_FILENAME="${ZIP_FILENAME:-"image_${IMG_DATE}-${IMG_NAME}"}"
export ZIP_FILENAME="${ZIP_FILENAME:-"${IMG_DATE}-${IMG_NAME}"}"

export SCRIPT_DIR="${BASE_DIR}/scripts"
export WORK_DIR="${WORK_DIR:-"${BASE_DIR}/work/${IMG_DATE}-${IMG_NAME}"}"


+ 2
- 2
builder/export-image/04-finalise/01-run.sh Bestand weergeven

@@ -86,12 +86,12 @@ unmount_image "${IMG_FILE}"

mkdir -p "${DEPLOY_DIR}"

rm -f "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.zip"
rm -f "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.tar.xz"
rm -f "${DEPLOY_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.img"

if [ "${DEPLOY_ZIP}" == "1" ]; then
pushd "${STAGE_WORK_DIR}" > /dev/null
zip "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.zip" \
tar -cJf "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.tar.xz" \
"$(basename "${IMG_FILE}")"
popd > /dev/null
else


+ 3
- 0
builder/stage4/05-pisdr-gnuradio/00-packages-nr Bestand weergeven

@@ -13,6 +13,9 @@ libqwt-dev
libsdl1.2-dev
libusb-1.0-0-dev
pkg-config
libasound2-dev
pulseaudio
libjack-dev
python-wxgtk3.0
python-qt4
python-gtk2


+ 0
- 1
builder/stage4/05-pisdr-gnuradio/00-run.sh Bestand weergeven

@@ -13,7 +13,6 @@ git pull
git checkout maint-3.7
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python ../
make -j$(nproc) install
ldconfig


+ 0
- 1
builder/stage4/06-pisdr-soapysdr/01-run.sh Bestand weergeven

@@ -12,7 +12,6 @@ cd SoapySDR
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc) install
ldconfig

+ 0
- 1
builder/stage4/06-pisdr-soapysdr/02-run.sh Bestand weergeven

@@ -12,7 +12,6 @@ cd SoapyRemote
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc) install
ldconfig

+ 1
- 1
builder/stage4/06-pisdr-soapysdr/03-run.sh Bestand weergeven

@@ -10,9 +10,9 @@ fi

cd gr-soapy
git pull
git checkout maint-3.7
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc) install
ldconfig

+ 0
- 1
builder/stage4/07-pisdr-limesdr/00-run.sh Bestand weergeven

@@ -12,7 +12,6 @@ cd LimeSuite
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake -DCMAKE_CXX_LINK_FLAGS="$(DCMAKE_CXX_LINK_FLAGS) -latomic" ../
make -j$(nproc) install
ldconfig


+ 0
- 1
builder/stage4/07-pisdr-limesdr/01-run.sh Bestand weergeven

@@ -12,7 +12,6 @@ cd gr-limesdr
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc) install
ldconfig


+ 0
- 1
builder/stage4/08-pisdr-airspy/00-run.sh Bestand weergeven

@@ -12,7 +12,6 @@ cd airspyone_host
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../ -DINSTALL_UDEV_RULES=ON
make -j$(nproc) install
ldconfig

+ 0
- 1
builder/stage4/08-pisdr-airspy/01-run.sh Bestand weergeven

@@ -12,7 +12,6 @@ cd airspyhf
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../ -DINSTALL_UDEV_RULES=ON
make -j$(nproc) install
ldconfig


+ 0
- 1
builder/stage4/08-pisdr-airspy/02-run.sh Bestand weergeven

@@ -12,7 +12,6 @@ cd SoapyAirspy
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake -DCMAKE_CXX_FLAGS=-latomic ../
make -j$(nproc) install
ldconfig


+ 0
- 1
builder/stage4/09-pisdr-rtlsdr/00-run.sh Bestand weergeven

@@ -12,7 +12,6 @@ cd rtl-sdr
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
make -j$(nproc) install
ldconfig

+ 0
- 1
builder/stage4/09-pisdr-rtlsdr/01-run.sh Bestand weergeven

@@ -12,7 +12,6 @@ cd SoapyRTLSDR
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake -DCMAKE_CXX_FLAGS=-latomic ../
make -j$(nproc) install
ldconfig

+ 0
- 1
builder/stage4/10-pisdr-plutosdr/00-run.sh Bestand weergeven

@@ -12,7 +12,6 @@ cd libiio
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../ -DINSTALL_UDEV_RULE=ON
make -j$(nproc) install
ldconfig

+ 0
- 1
builder/stage4/10-pisdr-plutosdr/01-run.sh Bestand weergeven

@@ -12,7 +12,6 @@ cd libad9361-iio
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../ -DINSTALL_UDEV_RULE=ON
make -j$(nproc) install
ldconfig

+ 0
- 1
builder/stage4/10-pisdr-plutosdr/02-run.sh Bestand weergeven

@@ -12,7 +12,6 @@ cd gr-iio
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../ -DINSTALL_UDEV_RULE=ON
make -j$(nproc) install
ldconfig

+ 0
- 1
builder/stage4/10-pisdr-plutosdr/03-run.sh Bestand weergeven

@@ -12,7 +12,6 @@ cd SoapyPlutoSDR
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake -DCMAKE_CXX_FLAGS=-latomic ../
make -j$(nproc) install
ldconfig

builder/stage4/13-pisdr-osmocom/00-run.sh → builder/stage4/11-pisdr-osmocom/00-run.sh Bestand weergeven

@@ -13,7 +13,6 @@ git pull
git checkout gr3.7
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc) install
ldconfig

builder/stage4/11-pisdr-sdrangel/00-packages-nr → builder/stage4/12-pisdr-sdrangel/00-packages-nr Bestand weergeven


builder/stage4/11-pisdr-sdrangel/00-run.sh → builder/stage4/12-pisdr-sdrangel/00-run.sh Bestand weergeven

@@ -13,7 +13,6 @@ git pull
git reset --hard f21e8bc1e9afdb0b28672743dcec111aec1d32d9
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc) install
ldconfig

builder/stage4/11-pisdr-sdrangel/01-run.sh → builder/stage4/12-pisdr-sdrangel/01-run.sh Bestand weergeven

@@ -13,7 +13,6 @@ git pull
git reset --hard 9a04ed5c78176a9965f3d43f7aa1b1f5330e771f
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc) install
ldconfig

builder/stage4/11-pisdr-sdrangel/02-run.sh → builder/stage4/12-pisdr-sdrangel/02-run.sh Bestand weergeven

@@ -13,7 +13,6 @@ git pull
git reset --hard "v1.1.4"
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc) install
ldconfig

builder/stage4/11-pisdr-sdrangel/03-run.sh → builder/stage4/12-pisdr-sdrangel/03-run.sh Bestand weergeven

@@ -13,7 +13,6 @@ git pull
git reset --hard "v1.8.6"
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake -DUSE_MBELIB=ON ../
make -j$(nproc) install
ldconfig

builder/stage4/11-pisdr-sdrangel/04-run.sh → builder/stage4/12-pisdr-sdrangel/04-run.sh Bestand weergeven

@@ -13,7 +13,6 @@ git pull
git reset --hard 76a20416d715ee06f8b36a9953506876689a3bd2
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc) install
ldconfig

builder/stage4/11-pisdr-sdrangel/05-run.sh → builder/stage4/12-pisdr-sdrangel/05-run.sh Bestand weergeven

@@ -12,7 +12,6 @@ cd sdrangel
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc) install
ldconfig

builder/stage4/12-pisdr-gqrx/00-packages-nr → builder/stage4/13-pisdr-gqrx/00-packages-nr Bestand weergeven


builder/stage4/12-pisdr-gqrx/00-run.sh → builder/stage4/13-pisdr-gqrx/00-run.sh Bestand weergeven

@@ -12,7 +12,6 @@ cd gqrx
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc) install
ldconfig

Laden…
Annuleren
Opslaan