File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1+
12version : 1.13.{build}
23pull_requests :
34 do_not_increment_build_number : true
@@ -9,17 +10,16 @@ environment:
910 ARCH : x86
1011install :
1112- cmd : appveyor DownloadFile https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-win.zip -FileName ninja.zip
12- - cmd : 7z x ninja.zip -oC:\projects\deps\ninja > nul
13- - cmd : set PATH=C:\projects\deps\ninja ;%PATH%
13+ - cmd : 7z x ninja.zip
14+ - cmd : set PATH=%cd% ;%PATH%
1415- cmd : ninja --version
1516build_script :
1617- cmd : call "C:\Program Files (x86)\Microsoft Visual Studio %VCVER%\VC\vcvarsall.bat" %ARCH%
17- - mkdir build
18+ - cmd : cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release %CMakeArgs%
19+ - sh : cmake -S . -B build -DCMAKE_BUILD_TYPE=Release ${CMakeArgs}
1820- cd build
19- - cmd : cmake -G Ninja -DCMAKE_BUILD_TYPE=Release %CMakeArgs% ..
20- - sh : cmake -DCMAKE_BUILD_TYPE=Release ${CMakeArgs} ..
2121- cmake --build . --config Release --target install
22- - cpack
22+ - cpack -C Release
2323artifacts :
2424- path : ' build/*.7z'
2525deploy :
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
1010if (NOT CMAKE_DEBUG_POSTFIX )
1111 set (CMAKE_DEBUG_POSTFIX -debug)
1212endif ()
13- option (LSL_UNIXFOLDERS "Use the unix folder layout for install targets" Off )
13+ option (LSL_UNIXFOLDERS "Use the unix folder layout for install targets" On )
1414option (LSL_NO_FANCY_LIBNAME "Skip library name decorations (32/64/-debug)" )
1515option (LSL_LEGACY_CPP_ABI "Build legacy C++ ABI" OFF )
1616
Original file line number Diff line number Diff line change 99 cmakeArgs : ' --version'
1010- task : CMake@1
1111 inputs :
12- cmakeArgs : ' -DLSL_UNITTESTS=1 -DLSL_UNIXFOLDERS=1 ${{ parameters.cmake_stepvars }} $(cmakeargs) ..'
12+ cmakeArgs : ' -DLSL_UNITTESTS=1 ${{ parameters.cmake_stepvars }} $(cmakeargs) ..'
1313 displayName : ' Configure build'
1414- task : CMake@1
1515 inputs :
You can’t perform that action at this time.
0 commit comments