-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
29 lines (29 loc) · 1.07 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
version: 1.13.0.{build}
pull_requests:
do_not_increment_build_number: true
shallow_clone: true
environment:
lsltag: 1.13.0
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.13
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
DEPLOYNAME: Linux64-bionic
install:
- cmd: appveyor DownloadFile %LSLDIST_URL%/%lsltag%/liblsl-%lslversion%-Win64.zip -FileName liblsl_x64.zip
- cmd: 7z x liblsl_x64.zip -oLSL
- sh: wget ${LSLDIST_URL}/${lsltag}/liblsl-${lslversion}-${DEPLOYNAME}.deb -O lsl.deb
- sh: sudo dpkg -i lsl.deb
- sh: sudo apt update && sudo apt install -y qtbase5-dev
build_script:
- cmd: cmake -S . -B build -DQt5_DIR=C:/Qt/%QTVER%/%QTCOMPILER%/lib/cmake/Qt5 -DLSL_INSTALL_ROOT=LSL/ %CMakeArgs% -A x64
- sh: cmake -S . -B build -DLSL_UNIXFOLDERS=1 -DCPACK_DEBIAN_PACKAGE_SHLIBDEPS=1 ${CMakeArgs}
- cmake --build build --config Release -j --target package
artifacts:
- path: 'build/*.deb'
- path: 'build/*.tar.*'
- path: 'build/*.7z'