mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-09-27 15:26:33 -04:00
Appveyor CI: updates of libraries build and main yaml file
This commit is contained in:
parent
e467129c8d
commit
76456c224b
@ -15,14 +15,15 @@ environment:
|
|||||||
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
|
||||||
# RelWithDebInfo
|
# RelWithDebInfo
|
||||||
configuration: Release
|
configuration: Release
|
||||||
CMAKE_CUSTOM_OPTIONS: "-DENABLE_EXTERNAL_LIBRARIES=OFF"
|
# CMAKE_CUSTOM_OPTIONS: "-DENABLE_EXTERNAL_LIBRARIES=OFF"
|
||||||
|
CMAKE_CUSTOM_OPTIONS: "-DFORCE_SSE41=ON -DQT_MISSING=OFF -DDEBUG_OUTPUT=ON -DENABLE_MIRISDR=OFF -DENABLE_SERVER=OFF"
|
||||||
CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
|
CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
|
||||||
- TARGET: ubuntu1804sse41
|
# - TARGET: ubuntu1804sse41
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
|
# APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
|
||||||
CMAKE_CUSTOM_OPTIONS: "-DFORCE_SSE41=ON"
|
# CMAKE_CUSTOM_OPTIONS: "-DFORCE_SSE41=ON"
|
||||||
- TARGET: ubuntu1804server
|
# - TARGET: ubuntu1804server
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
|
# APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
|
||||||
CMAKE_CUSTOM_OPTIONS: "-DBUILD_GUI=OFF"
|
# CMAKE_CUSTOM_OPTIONS: "-DBUILD_GUI=OFF"
|
||||||
- TARGET: ubuntu1804external
|
- TARGET: ubuntu1804external
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
|
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
|
||||||
CMAKE_CUSTOM_OPTIONS: "-DENABLE_EXTERNAL_LIBRARIES=ON"
|
CMAKE_CUSTOM_OPTIONS: "-DENABLE_EXTERNAL_LIBRARIES=ON"
|
||||||
@ -40,7 +41,7 @@ for:
|
|||||||
#- C:\Tools\vcpkg\installed
|
#- C:\Tools\vcpkg\installed
|
||||||
install:
|
install:
|
||||||
# the clone doesn't get submodules
|
# the clone doesn't get submodules
|
||||||
- ps: git submodule update --init --recursive
|
- cmd: git submodule update --init --recursive
|
||||||
before_build:
|
before_build:
|
||||||
- ps: cmake . -G $(CMAKE_GENERATOR) $(CMAKE_CUSTOM_OPTIONS)
|
- ps: cmake . -G $(CMAKE_GENERATOR) $(CMAKE_CUSTOM_OPTIONS)
|
||||||
build:
|
build:
|
||||||
@ -60,10 +61,10 @@ for:
|
|||||||
sudo apt-get -y install build-essential cmake git \
|
sudo apt-get -y install build-essential cmake git \
|
||||||
devscripts fakeroot debhelper libfftw3-dev qtbase5-dev libqt5opengl5-dev \
|
devscripts fakeroot debhelper libfftw3-dev qtbase5-dev libqt5opengl5-dev \
|
||||||
qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins libqt5websockets5-dev \
|
qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins libqt5websockets5-dev \
|
||||||
libusb-1.0-0-dev libboost-all-dev librtlsdr-dev libasound2-dev libopencv-dev libopencv-imgcodecs-dev \
|
libusb-1.0-0-dev libboost-all-dev libasound2-dev libopencv-dev libopencv-imgcodecs-dev \
|
||||||
libxml2-dev bison flex ffmpeg libpostproc-dev libavcodec-dev libavformat-dev \
|
libxml2-dev bison flex ffmpeg libpostproc-dev libavcodec-dev libavformat-dev \
|
||||||
libopus-dev libcodec2-dev libairspy-dev libhackrf-dev \
|
libopus-dev libcodec2-dev libairspy-dev libhackrf-dev \
|
||||||
librtlsdr-dev liblimesuite-dev libbladerf-dev libsoapysdr-dev libiio-dev \
|
libbladerf-dev libsoapysdr-dev libiio-dev \
|
||||||
autoconf automake libtool
|
autoconf automake libtool
|
||||||
- sh: if [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_cm256cc.sh; fi
|
- sh: if [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_cm256cc.sh; fi
|
||||||
- sh: if [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_mbelib.sh; fi
|
- sh: if [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_mbelib.sh; fi
|
||||||
@ -72,6 +73,8 @@ for:
|
|||||||
- sh: bash cmake/ci/build_perseus-sdr.sh
|
- sh: bash cmake/ci/build_perseus-sdr.sh
|
||||||
- sh: bash cmake/ci/build_xtrx-sdr.sh
|
- sh: bash cmake/ci/build_xtrx-sdr.sh
|
||||||
- sh: bash cmake/ci/build_airspyhf.sh
|
- sh: bash cmake/ci/build_airspyhf.sh
|
||||||
|
- sh: bash cmake/ci/build_rtlsdr.sh
|
||||||
|
- sh: bash cmake/ci/build_limesuite.sh
|
||||||
before_build:
|
before_build:
|
||||||
- sh: bash -c export
|
- sh: bash -c export
|
||||||
- sh: bash -c pwd
|
- sh: bash -c pwd
|
||||||
|
@ -2,11 +2,12 @@
|
|||||||
|
|
||||||
cd $HOME
|
cd $HOME
|
||||||
mkdir -p external && cd external
|
mkdir -p external && cd external
|
||||||
mkdir -p airspy && cd airspy
|
mkdir -p airspyhf && cd airspyhf
|
||||||
|
|
||||||
git clone https://github.com/airspy/airspyhf.git
|
git clone https://github.com/airspy/airspyhf.git
|
||||||
|
|
||||||
cd airspyhf
|
cd airspyhf
|
||||||
|
git reset --hard "1.1.5"
|
||||||
mkdir -p build && cd build
|
mkdir -p build && cd build
|
||||||
cmake .. -DINSTALL_UDEV_RULES=ON
|
cmake .. -DINSTALL_UDEV_RULES=ON
|
||||||
sudo make install
|
sudo make install
|
||||||
|
@ -7,6 +7,7 @@ mkdir -p f4exb && cd f4exb
|
|||||||
git clone https://github.com/f4exb/cm256cc.git
|
git clone https://github.com/f4exb/cm256cc.git
|
||||||
|
|
||||||
cd cm256cc
|
cd cm256cc
|
||||||
|
git reset --hard f21e8bc1e9afdb0b28672743dcec111aec1d32d9
|
||||||
mkdir -p build && cd build
|
mkdir -p build && cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
sudo make install
|
sudo make install
|
||||||
|
@ -9,6 +9,7 @@ mkdir -p drowe67 && cd drowe67
|
|||||||
git clone https://github.com/drowe67/codec2.git
|
git clone https://github.com/drowe67/codec2.git
|
||||||
|
|
||||||
cd codec2
|
cd codec2
|
||||||
|
git reset --hard "v0.9.2"
|
||||||
mkdir -p build && cd build
|
mkdir -p build && cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
sudo make install
|
sudo make install
|
||||||
|
@ -7,6 +7,7 @@ mkdir -p f4exb && cd f4exb
|
|||||||
git clone https://github.com/f4exb/dsdcc.git
|
git clone https://github.com/f4exb/dsdcc.git
|
||||||
|
|
||||||
cd dsdcc
|
cd dsdcc
|
||||||
|
git reset --hard "v1.8.6"
|
||||||
mkdir -p build && cd build
|
mkdir -p build && cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
sudo make install
|
sudo make install
|
||||||
|
11
cmake/ci/build_limesuite.sh
Normal file
11
cmake/ci/build_limesuite.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
cd $HOME
|
||||||
|
mkdir -p external && cd external
|
||||||
|
mkdir -p limesuite && cd limesuite
|
||||||
|
|
||||||
|
wget https://github.com/myriadrf/LimeSuite/archive/v20.01.0.tar.gz
|
||||||
|
tar -xf v20.01.0.tar.gz
|
||||||
|
cd LimeSuite-20.01.0
|
||||||
|
mkdir -p builddir && cd builddir
|
||||||
|
cmake ..
|
||||||
|
sudo make install
|
||||||
|
sudo ldconfig
|
@ -7,6 +7,7 @@ mkdir -p szechyjs && cd szechyjs
|
|||||||
git clone https://github.com/szechyjs/mbelib.git
|
git clone https://github.com/szechyjs/mbelib.git
|
||||||
|
|
||||||
cd mbelib
|
cd mbelib
|
||||||
|
git reset --hard 9a04ed5c78176a9965f3d43f7aa1b1f5330e771f
|
||||||
mkdir -p build && cd build
|
mkdir -p build && cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
sudo make install
|
sudo make install
|
||||||
|
@ -4,9 +4,11 @@ cd $HOME
|
|||||||
mkdir -p external && cd external
|
mkdir -p external && cd external
|
||||||
mkdir -p microtelecom && cd microtelecom
|
mkdir -p microtelecom && cd microtelecom
|
||||||
|
|
||||||
git clone https://github.com/Microtelecom/libperseus-sdr.git
|
git clone https://github.com/f4exb/libperseus-sdr.git
|
||||||
|
|
||||||
cd libperseus-sdr
|
cd libperseus-sdr
|
||||||
|
git checkout fixes
|
||||||
|
git reset --hard afefa23e3140ac79d845acb68cf0beeb86d09028
|
||||||
./bootstrap.sh
|
./bootstrap.sh
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
|
14
cmake/ci/build_rtlsdr.sh
Normal file
14
cmake/ci/build_rtlsdr.sh
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd $HOME
|
||||||
|
mkdir -p external && cd external
|
||||||
|
mkdir -p rtlsdr && cd rtlsdr
|
||||||
|
|
||||||
|
git clone https://github.com/osmocom/rtl-sdr.git
|
||||||
|
|
||||||
|
cd rtl-sdr
|
||||||
|
git reset --hard be1d1206bfb6e6c41f7d91b20b77e20f929fa6a7
|
||||||
|
mkdir -p build && cd build
|
||||||
|
cmake .. -DDETACH_KERNEL_DRIVER=ON -DINSTALL_UDEV_RULES=ON
|
||||||
|
sudo make install
|
||||||
|
sudo ldconfig
|
@ -7,6 +7,7 @@ mkdir -p f4exb && cd f4exb
|
|||||||
git clone https://github.com/f4exb/serialDV.git
|
git clone https://github.com/f4exb/serialDV.git
|
||||||
|
|
||||||
cd serialDV
|
cd serialDV
|
||||||
|
git reset --hard "v1.1.4"
|
||||||
mkdir -p build && cd build
|
mkdir -p build && cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
sudo make install
|
sudo make install
|
||||||
|
@ -4,9 +4,18 @@ cd $HOME
|
|||||||
mkdir -p external && cd external
|
mkdir -p external && cd external
|
||||||
mkdir -p xtrx-sdr && cd xtrx-sdr
|
mkdir -p xtrx-sdr && cd xtrx-sdr
|
||||||
|
|
||||||
git clone https://github.com/xtrx-sdr/images.git
|
git clone https://github.com/xtrx-sdr/images.git xtrx-images
|
||||||
|
|
||||||
cd images/binaries/Ubuntu_16.04_amd64
|
cd xtrx-images
|
||||||
sudo dpkg -i *.deb
|
git reset --hard 053ec82
|
||||||
sudo apt-get -y install -f
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
cd sources
|
||||||
|
mkdir -p build && cd build
|
||||||
|
cmake -DENABLE_SOAPY=NO ..
|
||||||
|
sudo make install
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
|
# cd images/binaries/Ubuntu_16.04_amd64
|
||||||
|
# sudo dpkg -i *.deb
|
||||||
|
# sudo apt-get -y install -f
|
||||||
|
# sudo ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user