mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-05 00:11:16 -05:00
84 lines
3.1 KiB
YAML
84 lines
3.1 KiB
YAML
---
|
|
version: "{build}-{branch}"
|
|
clone_depth: 1
|
|
|
|
# maybe we can add arm
|
|
platform:
|
|
- x64
|
|
|
|
matrix:
|
|
fast_finish: false
|
|
|
|
environment:
|
|
matrix:
|
|
- TARGET: vs2017gui
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
|
|
# RelWithDebInfo
|
|
configuration: Release
|
|
CMAKE_CUSTOM_OPTIONS: "-DENABLE_EXTERNAL_LIBRARIES=OFF"
|
|
CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
|
|
- TARGET: ubuntu1804sse41
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
|
|
CMAKE_CUSTOM_OPTIONS: "-DFORCE_SSE41=ON"
|
|
- TARGET: ubuntu1804server
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
|
|
CMAKE_CUSTOM_OPTIONS: "-DBUILD_GUI=OFF"
|
|
- TARGET: ubuntu1804external
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
|
|
CMAKE_CUSTOM_OPTIONS: "-DENABLE_EXTERNAL_LIBRARIES=ON"
|
|
|
|
# image:
|
|
# - &linux Ubuntu1804
|
|
# - matrix: { only: [ image: *linux ] }
|
|
for:
|
|
- matrix:
|
|
only:
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
|
|
cache:
|
|
- C:\ProgramData\chocolatey\bin
|
|
- C:\ProgramData\chocolatey\lib
|
|
#- C:\Tools\vcpkg\installed
|
|
install:
|
|
# the clone doesn't get submodules
|
|
- ps: git submodule update --init --recursive
|
|
before_build:
|
|
- ps: cmake . -G $(CMAKE_GENERATOR) $(CMAKE_CUSTOM_OPTIONS)
|
|
build:
|
|
parallel: true
|
|
project: $(APPVEYOR_BUILD_FOLDER)\$(APPVEYOR_PROJECT_NAME).sln
|
|
#test_script:
|
|
#- ps: '%APPVEYOR_BUILD_FOLDER%\%CONFIGURATION%\tests.exe'
|
|
- matrix:
|
|
only:
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
|
|
cache:
|
|
- $HOME/external/
|
|
install:
|
|
- sh: sudo apt-get update
|
|
# not sdrplay with soapysdr; libairspyhf-dev is too old (no lna)
|
|
- sh: |
|
|
sudo apt-get -y install build-essential cmake git \
|
|
devscripts fakeroot debhelper libfftw3-dev qtbase5-dev libqt5opengl5-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 \
|
|
libxml2-dev bison flex ffmpeg libpostproc-dev libavcodec-dev libavformat-dev \
|
|
libopus-dev libcodec2-dev libairspy-dev libhackrf-dev \
|
|
librtlsdr-dev liblimesuite-dev libbladerf-dev libsoapysdr-dev libiio-dev \
|
|
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_mbelib.sh; fi
|
|
- sh: if [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_serialdv.sh; fi
|
|
- sh: if [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_dsdcc.sh; fi
|
|
- sh: bash cmake/ci/build_perseus-sdr.sh
|
|
- sh: bash cmake/ci/build_xtrx-sdr.sh
|
|
- sh: bash cmake/ci/build_airspyhf.sh
|
|
before_build:
|
|
- sh: bash -c export
|
|
- sh: bash -c pwd
|
|
build_script:
|
|
- sh: bash cmake/ci/build_sdrangel.sh
|
|
test_script:
|
|
# debian build path
|
|
- sh: ./obj-x86_64-linux-gnu/sdrangelbench
|
|
|
|
deploy: off |