@@ -9,6 +9,7 @@ jobs: | |||||
build: | build: | ||||
name: Build & Release Image | name: Build & Release Image | ||||
runs-on: ubuntu-latest | runs-on: ubuntu-latest | ||||
timeout-minutes: 2880 | |||||
env: | env: | ||||
working-directory: ./builder | working-directory: ./builder | ||||
steps: | steps: | ||||
@@ -19,7 +20,7 @@ jobs: | |||||
working-directory: ${{ env.working-directory }} | working-directory: ${{ env.working-directory }} | ||||
run: | | run: | | ||||
bash build-docker.sh | 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 | - name: Fix Permissions | ||||
id: fix_perm_filename | id: fix_perm_filename | ||||
run: | | run: | | ||||
@@ -6,6 +6,7 @@ jobs: | |||||
build: | build: | ||||
name: Build & Validate Image | name: Build & Validate Image | ||||
runs-on: ubuntu-latest | runs-on: ubuntu-latest | ||||
timeout-minutes: 2880 | |||||
env: | env: | ||||
working-directory: ./builder | working-directory: ./builder | ||||
steps: | steps: | ||||
@@ -16,7 +17,7 @@ jobs: | |||||
working-directory: ${{ env.working-directory }} | working-directory: ${{ env.working-directory }} | ||||
run: | | run: | | ||||
bash build-docker.sh | 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 | - name: Fix Permissions | ||||
id: fix_perm_filename | id: fix_perm_filename | ||||
run: | | run: | | ||||
@@ -1,4 +1,4 @@ | |||||
FROM debian:buster | |||||
FROM i386/debian:buster | |||||
ENV DEBIAN_FRONTEND noninteractive | ENV DEBIAN_FRONTEND noninteractive | ||||
@@ -154,7 +154,7 @@ fi | |||||
export USE_QEMU="${USE_QEMU:-0}" | export USE_QEMU="${USE_QEMU:-0}" | ||||
export IMG_DATE="${IMG_DATE:-"$(date +%Y-%m-%d)"}" | export IMG_DATE="${IMG_DATE:-"$(date +%Y-%m-%d)"}" | ||||
export IMG_FILENAME="${IMG_FILENAME:-"${IMG_DATE}-${IMG_NAME}"}" | 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 SCRIPT_DIR="${BASE_DIR}/scripts" | ||||
export WORK_DIR="${WORK_DIR:-"${BASE_DIR}/work/${IMG_DATE}-${IMG_NAME}"}" | export WORK_DIR="${WORK_DIR:-"${BASE_DIR}/work/${IMG_DATE}-${IMG_NAME}"}" | ||||
@@ -86,12 +86,12 @@ unmount_image "${IMG_FILE}" | |||||
mkdir -p "${DEPLOY_DIR}" | 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" | rm -f "${DEPLOY_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.img" | ||||
if [ "${DEPLOY_ZIP}" == "1" ]; then | if [ "${DEPLOY_ZIP}" == "1" ]; then | ||||
pushd "${STAGE_WORK_DIR}" > /dev/null | 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}")" | "$(basename "${IMG_FILE}")" | ||||
popd > /dev/null | popd > /dev/null | ||||
else | else | ||||
@@ -13,6 +13,9 @@ libqwt-dev | |||||
libsdl1.2-dev | libsdl1.2-dev | ||||
libusb-1.0-0-dev | libusb-1.0-0-dev | ||||
pkg-config | pkg-config | ||||
libasound2-dev | |||||
pulseaudio | |||||
libjack-dev | |||||
python-wxgtk3.0 | python-wxgtk3.0 | ||||
python-qt4 | python-qt4 | ||||
python-gtk2 | python-gtk2 | ||||
@@ -13,7 +13,6 @@ git pull | |||||
git checkout maint-3.7 | git checkout maint-3.7 | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python ../ | cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig | ||||
@@ -12,7 +12,6 @@ cd SoapySDR | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ | cmake ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -12,7 +12,6 @@ cd SoapyRemote | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ | cmake ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -10,9 +10,9 @@ fi | |||||
cd gr-soapy | cd gr-soapy | ||||
git pull | git pull | ||||
git checkout maint-3.7 | |||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ | cmake ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -12,7 +12,6 @@ cd LimeSuite | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake -DCMAKE_CXX_LINK_FLAGS="$(DCMAKE_CXX_LINK_FLAGS) -latomic" ../ | cmake -DCMAKE_CXX_LINK_FLAGS="$(DCMAKE_CXX_LINK_FLAGS) -latomic" ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig | ||||
@@ -12,7 +12,6 @@ cd gr-limesdr | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ | cmake ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig | ||||
@@ -12,7 +12,6 @@ cd airspyone_host | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ -DINSTALL_UDEV_RULES=ON | cmake ../ -DINSTALL_UDEV_RULES=ON | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -12,7 +12,6 @@ cd airspyhf | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ -DINSTALL_UDEV_RULES=ON | cmake ../ -DINSTALL_UDEV_RULES=ON | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig | ||||
@@ -12,7 +12,6 @@ cd SoapyAirspy | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake -DCMAKE_CXX_FLAGS=-latomic ../ | cmake -DCMAKE_CXX_FLAGS=-latomic ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig | ||||
@@ -12,7 +12,6 @@ cd rtl-sdr | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON | cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -12,7 +12,6 @@ cd SoapyRTLSDR | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake -DCMAKE_CXX_FLAGS=-latomic ../ | cmake -DCMAKE_CXX_FLAGS=-latomic ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -12,7 +12,6 @@ cd libiio | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ -DINSTALL_UDEV_RULE=ON | cmake ../ -DINSTALL_UDEV_RULE=ON | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -12,7 +12,6 @@ cd libad9361-iio | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ -DINSTALL_UDEV_RULE=ON | cmake ../ -DINSTALL_UDEV_RULE=ON | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -12,7 +12,6 @@ cd gr-iio | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ -DINSTALL_UDEV_RULE=ON | cmake ../ -DINSTALL_UDEV_RULE=ON | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -12,7 +12,6 @@ cd SoapyPlutoSDR | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake -DCMAKE_CXX_FLAGS=-latomic ../ | cmake -DCMAKE_CXX_FLAGS=-latomic ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -13,7 +13,6 @@ git pull | |||||
git checkout gr3.7 | git checkout gr3.7 | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ | cmake ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -13,7 +13,6 @@ git pull | |||||
git reset --hard f21e8bc1e9afdb0b28672743dcec111aec1d32d9 | git reset --hard f21e8bc1e9afdb0b28672743dcec111aec1d32d9 | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ | cmake ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -13,7 +13,6 @@ git pull | |||||
git reset --hard 9a04ed5c78176a9965f3d43f7aa1b1f5330e771f | git reset --hard 9a04ed5c78176a9965f3d43f7aa1b1f5330e771f | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ | cmake ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -13,7 +13,6 @@ git pull | |||||
git reset --hard "v1.1.4" | git reset --hard "v1.1.4" | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ | cmake ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -13,7 +13,6 @@ git pull | |||||
git reset --hard "v1.8.6" | git reset --hard "v1.8.6" | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake -DUSE_MBELIB=ON ../ | cmake -DUSE_MBELIB=ON ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -13,7 +13,6 @@ git pull | |||||
git reset --hard 76a20416d715ee06f8b36a9953506876689a3bd2 | git reset --hard 76a20416d715ee06f8b36a9953506876689a3bd2 | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ | cmake ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -12,7 +12,6 @@ cd sdrangel | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ | cmake ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |
@@ -12,7 +12,6 @@ cd gqrx | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
rm -rf CMakeCache.txt | |||||
cmake ../ | cmake ../ | ||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig |