-
Notifications
You must be signed in to change notification settings - Fork 2
/
.appveyor.yml
37 lines (37 loc) · 1.45 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: 1.13.0.{build}
pull_requests:
do_not_increment_build_number: true
shallow_clone: true
environment:
lsltag: 1.13.0-b12
lslversion: 1.13.0
LSLDIST_URL: "https://github.com/sccn/liblsl/releases/download"
CMakeArgs: ""
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
QTCOMPILER: msvc2017_64
QTVER: 5.12
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1604
DEPLOYNAME: Linux64-xenial
install:
- cmd: appveyor DownloadFile https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-win.zip -FileName ninja.zip
- cmd: appveyor DownloadFile %LSLDIST_URL%/%lsltag%/liblsl-%lslversion%-Win64.7z -FileName liblsl_x64.7z
- cmd: 7z x ninja.zip
- cmd: set PATH=%cd%;%PATH%
- cmd: 7z x liblsl_x64.7z -oLSL
- cmd: ninja --version
- sh: set -x
- sh: wget ${LSLDIST_URL}/${lsltag}/liblsl-${lslversion}-${DEPLOYNAME}.deb -O lsl.deb
- sh: dpkg -x lsl.deb LSL
- sh: sudo apt update && sudo apt install -y qtbase5-dev
build_script:
- cmd: call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
- cmd: cmake -S . -B build -G Ninja -DQt5_DIR=C:/Qt/%QTVER%/%QTCOMPILER%/lib/cmake/Qt5 -DBOOST_ROOT=C:/Libraries/boost_1_69_0 -DLSL_INSTALL_ROOT=LSL/ %CMakeArgs%
- sh: cmake -S . -B build -DLSL_INSTALL_ROOT=LSL/usr -DLSL_UNIXFOLDERS=1 ${CMakeArgs}
- cd build
- cmake --build . --config Release --target install
- cpack -C Release
artifacts:
- path: 'build/*.deb'
- path: 'build/*.tar.*'
- path: 'build/*.7z'