1version: '{build}' 2branches: 3 only: 4 - master 5 - /^hptsqfix-.*/ 6image: 7 - Visual Studio 2017 8environment: 9 matrix: 10 - generator: Visual Studio 15 2017 11 cf: -DBUILD_SHARED_LIBS=OFF -T v141_xp 12 pf: "msvc2017" 13 - generator: Visual Studio 15 2017 14 cf: -DBUILD_SHARED_LIBS=ON 15 pf: "msvc2017" 16 - generator: Visual Studio 15 2017 Win64 17 cf: -DBUILD_SHARED_LIBS=OFF 18 pf: "msvc2017" 19 - generator: Visual Studio 15 2017 Win64 20 cf: -DBUILD_SHARED_LIBS=ON 21 pf: "msvc2017" 22install: 23 - cmd: git clone https://github.com/huskyproject/huskylib C:\projects\huskylib 24 - cmd: git clone https://github.com/huskyproject/smapi C:\projects\smapi 25 - cmd: git clone https://github.com/huskyproject/fidoconf C:\projects\fidoconf 26build_script: 27 - cmd: 28 cd C:\projects\huskylib && mkdir build && cd build && cmake --version && cmake .. -G "%GENERATOR%" %CF% && cmake --build . -- /P:Configuration=Release && 29 cd C:\projects\smapi && mkdir build && cd build && cmake --version && cmake .. -G "%GENERATOR%" %CF% && cmake --build . -- /P:Configuration=Release && 30 cd C:\projects\fidoconf && mkdir build && cd build && cmake --version && cmake .. -G "%GENERATOR%" %CF% && cmake --build . -- /P:Configuration=Release && 31 cd C:\projects\hptsqfix && mkdir build && cd build && cmake --version && cmake .. -G "%GENERATOR%" %CF% && cmake --build . -- /P:Configuration=Release 32 - if ["%CF%"]==["-DBUILD_SHARED_LIBS=OFF"] (cpack) 33 - if ["%CF%"]==["-DBUILD_SHARED_LIBS=OFF -T v141_xp"] (cpack) 34 - ps: gci *.7z | %{ rename-item –path $_.Fullname –Newname ( $_.basename +"-"+$Env:pf+$_.extension) } 35artifacts: 36 - path: build\*.7z 37 name: dist 38deploy: 39 provider: GitHub 40 artifact: dist 41 auth_token: $(GITHUB_OAUTH_TOKEN) 42 on: 43 appveyor_repo_tag: true 44