4 Commits

Autor SHA1 Mensagem Data
  Luigi F. Cruz 916e7d18e3 Remove CI. 1 ano atrás
  Luigi F. Cruz 540962987e Disable iio-osc and urh. 1 ano atrás
  Luigi F. Cruz 9446958aa7 Remove early exit from gr-limesdr. 1 ano atrás
  Luigi F. Cruz 984ea8191f Patches for sdrangel. 1 ano atrás
10 arquivos alterados com 23 adições e 103 exclusões
Visão dividida
  1. +0
    -50
      .github/workflows/release.yml
  2. +0
    -42
      .github/workflows/validate.yml
  3. +0
    -3
      stage4/14-pisdr-gnuradio-mod/01-run.sh
  4. +9
    -0
      stage4/18-pisdr-sdrangel/00-packages-nr
  5. +1
    -1
      stage4/18-pisdr-sdrangel/00-run.sh
  6. +1
    -1
      stage4/18-pisdr-sdrangel/03-run.sh
  7. +2
    -2
      stage4/18-pisdr-sdrangel/04-run.sh
  8. +1
    -1
      stage4/18-pisdr-sdrangel/05-run.sh
  9. +5
    -2
      stage4/35-pisdr-urh/00-run.sh
  10. +4
    -1
      stage4/41-pisdr-iiooscilloscope/00-run.sh

+ 0
- 50
.github/workflows/release.yml Ver arquivo

@@ -1,50 +0,0 @@
on:
release:
types: [ created ]

name: Build & Deploy Image

jobs:
build:
name: Build & Release Image
runs-on: ARM64
timeout-minutes: 2880
env:
working-directory: ./
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Clean docker
id: clean_docker
working-directory: ${{ env.working-directory }}
run: |
docker system prune -af
docker system prune --volumes -f
docker image prune -af
docker container stop $(docker container ls -aq) || true
docker container rm $(docker container ls -aq) || true
- name: Build project
id: builder
working-directory: ${{ env.working-directory }}
run: |
bash build-docker.sh
echo ::set-output name=filename::$(ls deploy/*.img.xz | xargs -n 1 basename)
- name: Fix Permissions
id: fix_perm_filename
run: |
chmod a+rw ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}
echo ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.LONG_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}
asset_name: ${{ steps.builder.outputs.filename }}
asset_content_type: application/x-tar
- name: Delete Image
id: delete_image
run: |
rm ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}

+ 0
- 42
.github/workflows/validate.yml Ver arquivo

@@ -1,42 +0,0 @@
on: ['pull_request']

name: Build & Validate Image

jobs:
build:
name: Build & Validate Image
runs-on: ARM64
timeout-minutes: 2880
env:
working-directory: ./
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Clean docker
id: clean_docker
working-directory: ${{ env.working-directory }}
run: |
docker system prune -af
docker system prune --volumes -f
docker image prune -af
docker container stop $(docker container ls -aq) || true
docker container rm $(docker container ls -aq) || true
- name: Build project
id: builder
working-directory: ${{ env.working-directory }}
run: |
bash build-docker.sh
echo ::set-output name=filename::$(ls deploy/*.img.xz | xargs -n 1 basename)
- name: Fix Permissions
id: fix_perm_filename
run: |
chmod a+rw ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}
echo ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}
- uses: actions/upload-artifact@v1
with:
name: ${{ steps.builder.outputs.filename }}
path: ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}
- name: Delete Image
id: delete_image
run: |
rm ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}

+ 0
- 3
stage4/14-pisdr-gnuradio-mod/01-run.sh Ver arquivo

@@ -1,8 +1,5 @@
#!/bin/bash -e

# gr-limesdr doesn't have a stable package for GR3.10
exit

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"


+ 9
- 0
stage4/18-pisdr-sdrangel/00-packages-nr Ver arquivo

@@ -41,3 +41,12 @@ libavcodec-dev
libavformat-dev
libopus-dev
graphviz
libqt5texttospeech5-dev
zlib1g-dev
libfaad-dev
libqt5gamepad5-dev
qtbase5-private-dev
qtwebengine5-dev
qml-module-qtquick-controls2
libspeexdsp-dev
libsamplerate0-dev

+ 1
- 1
stage4/18-pisdr-sdrangel/00-run.sh Ver arquivo

@@ -13,7 +13,7 @@ git reset --hard c0e92b92aca3d1d36c990b642b937c64d363c559
mkdir -p build
cd build
cmake -GNinja ..
ninja
ninja install
ldconfig
cd ..
rm -fr build


+ 1
- 1
stage4/18-pisdr-sdrangel/03-run.sh Ver arquivo

@@ -9,7 +9,7 @@ if [ ! -d "dsdcc" ]; then
fi

cd dsdcc
git reset --hard "v1.9.0"
git reset --hard "v1.9.3"
mkdir -p build
cd build
cmake -GNinja -DUSE_MBELIB=ON ..


+ 2
- 2
stage4/18-pisdr-sdrangel/04-run.sh Ver arquivo

@@ -5,11 +5,11 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"

if [ ! -d "codec2" ]; then
git clone https://github.com/drowe67/codec2.git
git clone https://github.com/drowe67/codec2-dev.git codec2
fi

cd codec2
git reset --hard 76a20416d715ee06f8b36a9953506876689a3bd2
git reset --hard "v1.0.3"
mkdir -p build
cd build
cmake -GNinja ..


+ 1
- 1
stage4/18-pisdr-sdrangel/05-run.sh Ver arquivo

@@ -11,7 +11,7 @@ fi
cd sdrangel
mkdir -p build
cd build
cmake -GNinja ..
cmake -DSOAPYSDR_DIR=/usr/local -GNinja ..
ninja install
ldconfig
cd ..


+ 5
- 2
stage4/35-pisdr-urh/00-run.sh Ver arquivo

@@ -1,14 +1,17 @@
#!/bin/bash -e

# currently not compiling with latest AirSpy drivers
exit

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"

if [ ! -d "urh" ]; then
git clone --depth 1 https://github.com/jopohl/urh.git
git clone --depth 1 --branch v2.9.4 https://github.com/jopohl/urh.git
fi

cd urh
python3 -m pip install --upgrade cython
python3 -m pip install cython==3.0.0
python3 setup.py install
EOF

+ 4
- 1
stage4/41-pisdr-iiooscilloscope/00-run.sh Ver arquivo

@@ -1,11 +1,14 @@
#!/bin/bash -e

# currently not compiling with latest Gtk
exit

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"

if [ ! -d "iio-oscilloscope" ]; then
git clone --depth 1 https://github.com/analogdevicesinc/iio-oscilloscope.git
git clone --depth 1 --branch v0.16-master https://github.com/analogdevicesinc/iio-oscilloscope.git
fi

cd iio-oscilloscope


Carregando…
Cancelar
Salvar