@@ -3,7 +3,8 @@ pull_requests:
33 do_not_increment_build_number : true
44shallow_clone : true
55environment :
6- lslversion : 1.13.0-b4
6+ lsltag : 1.13.0-b12
7+ lslversion : 1.13.0
78 LSLDIST_URL : " https://github.com/sccn/liblsl/releases/download"
89 CMakeArgs : " "
910 matrix :
@@ -14,23 +15,22 @@ environment:
1415 DEPLOYNAME : Linux64-bionic
1516install :
1617- cmd : appveyor DownloadFile https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-win.zip -FileName ninja.zip
17- - cmd : appveyor DownloadFile %LSLDIST_URL%/%lslversion %/liblsl-%lslversion%-Win64.7z -FileName liblsl_x64.7z
18- - cmd : 7z x ninja.zip -oC:\projects\deps\ninja > nul
19- - cmd : 7z x liblsl_x64.7z
20- - cmd : set PATH=C:\projects\deps\ninja;%PATH%
18+ - cmd : appveyor DownloadFile %LSLDIST_URL%/%lsltag %/liblsl-%lslversion%-Win64.7z -FileName liblsl_x64.7z
19+ - cmd : 7z x ninja.zip
20+ - cmd : set PATH=%cd%;%PATH%
21+ - cmd : 7z x liblsl_x64.7z -oLSL
2122- cmd : ninja --version
2223- sh : set -x
23- - sh : wget ${LSLDIST_URL}/${lslversion }/liblsl-${lslversion}-${DEPLOYNAME}.deb -O lsl.deb
24+ - sh : wget ${LSLDIST_URL}/${lsltag }/liblsl-${lslversion}-${DEPLOYNAME}.deb -O lsl.deb
2425- sh : dpkg -x lsl.deb LSL
2526- sh : sudo apt update && sudo apt install -y qtbase5-dev libboost-system-dev
2627build_script :
2728- cmd : call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
28- - mkdir build
29+ - 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%
30+ - sh : cmake -S . -B build -DLSL_INSTALL_ROOT=LSL/usr -DLSL_UNIXFOLDERS=1 ${CMakeArgs}
2931- cd build
30- - cmd : cmake -G Ninja -DQt5_DIR=C:/Qt/%QTVER%/%QTCOMPILER%/lib/cmake/Qt5 -DBOOST_ROOT=C:/Libraries/boost_1_69_0 -DLSL_INSTALL_ROOT=LSL/ %CMakeArgs% ../
31- - sh : cmake -DLSL_INSTALL_ROOT=LSL/usr -DLSL_UNIXFOLDERS=1 ${CMakeArgs} ..
3232- cmake --build . --config Release --target install
33- - cpack
33+ - cpack -C Release
3434artifacts :
3535- path : ' build/*.deb'
3636- path : ' build/*.tar.*'
0 commit comments