Author | SHA1 | Message | Date |
---|---|---|---|
Luigi F. Cruz | 916e7d18e3 | Remove CI. | 1 year ago |
Luigi F. Cruz | 540962987e | Disable iio-osc and urh. | 1 year ago |
Luigi F. Cruz | 9446958aa7 | Remove early exit from gr-limesdr. | 1 year ago |
Luigi F. Cruz | 984ea8191f | Patches for sdrangel. | 1 year ago |
@@ -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 }} |
@@ -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 }} |
@@ -1,8 +1,5 @@ | |||||
#!/bin/bash -e | #!/bin/bash -e | ||||
# gr-limesdr doesn't have a stable package for GR3.10 | |||||
exit | |||||
on_chroot << EOF | on_chroot << EOF | ||||
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
@@ -41,3 +41,12 @@ libavcodec-dev | |||||
libavformat-dev | libavformat-dev | ||||
libopus-dev | libopus-dev | ||||
graphviz | graphviz | ||||
libqt5texttospeech5-dev | |||||
zlib1g-dev | |||||
libfaad-dev | |||||
libqt5gamepad5-dev | |||||
qtbase5-private-dev | |||||
qtwebengine5-dev | |||||
qml-module-qtquick-controls2 | |||||
libspeexdsp-dev | |||||
libsamplerate0-dev |
@@ -13,7 +13,7 @@ git reset --hard c0e92b92aca3d1d36c990b642b937c64d363c559 | |||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
cmake -GNinja .. | cmake -GNinja .. | ||||
ninja | |||||
ninja install | |||||
ldconfig | ldconfig | ||||
cd .. | cd .. | ||||
rm -fr build | rm -fr build | ||||
@@ -9,7 +9,7 @@ if [ ! -d "dsdcc" ]; then | |||||
fi | fi | ||||
cd dsdcc | cd dsdcc | ||||
git reset --hard "v1.9.0" | |||||
git reset --hard "v1.9.3" | |||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
cmake -GNinja -DUSE_MBELIB=ON .. | cmake -GNinja -DUSE_MBELIB=ON .. | ||||
@@ -5,11 +5,11 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "codec2" ]; then | if [ ! -d "codec2" ]; then | ||||
git clone https://github.com/drowe67/codec2.git | |||||
git clone https://github.com/drowe67/codec2-dev.git codec2 | |||||
fi | fi | ||||
cd codec2 | cd codec2 | ||||
git reset --hard 76a20416d715ee06f8b36a9953506876689a3bd2 | |||||
git reset --hard "v1.0.3" | |||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
cmake -GNinja .. | cmake -GNinja .. | ||||
@@ -11,7 +11,7 @@ fi | |||||
cd sdrangel | cd sdrangel | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
cmake -GNinja .. | |||||
cmake -DSOAPYSDR_DIR=/usr/local -GNinja .. | |||||
ninja install | ninja install | ||||
ldconfig | ldconfig | ||||
cd .. | cd .. | ||||
@@ -1,14 +1,17 @@ | |||||
#!/bin/bash -e | #!/bin/bash -e | ||||
# currently not compiling with latest AirSpy drivers | |||||
exit | |||||
on_chroot << EOF | on_chroot << EOF | ||||
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "urh" ]; then | 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 | fi | ||||
cd urh | cd urh | ||||
python3 -m pip install --upgrade cython | |||||
python3 -m pip install cython==3.0.0 | |||||
python3 setup.py install | python3 setup.py install | ||||
EOF | EOF |
@@ -1,11 +1,14 @@ | |||||
#!/bin/bash -e | #!/bin/bash -e | ||||
# currently not compiling with latest Gtk | |||||
exit | |||||
on_chroot << EOF | on_chroot << EOF | ||||
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "iio-oscilloscope" ]; then | 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 | fi | ||||
cd iio-oscilloscope | cd iio-oscilloscope | ||||