<commit_before>image: Visual Studio 2017

environment:
  QTDIR: C:\Qt\5.9.1\msvc2017_64
  VCPKGDir: C:\Tools\vcpkg

install:
  - set
  - cd msvc
  - powershell -ExecutionPolicy ByPass -File downloadDependencies.ps1
  - powershell -ExecutionPolicy ByPass -File generateProject.ps1
  - cd ..

platform: x64

configuration: Release

build:
  parallel: true
  project: msvc\csound-vs\Csound.sln

after_build:
  - dir "%VCPKGDir%\installed\x64-windows\include"
  - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
  - set PATH=%QTDIR%\bin;%PATH%
  - cd msvc
  # Report qmake version to make sure we are using the Qt libraries we need.
  - qmake -v
  - build_csoundqt.bat
  - cd ..
  - set PATH=%PATH%;"C:\\Program Files (x86)\\Inno Setup 5"
  - iscc /dVcpkgInstalledBinDir=%VCPKGDir%\installed\x64-windows\bin\ /dQtSdkBinDir=%QTDIR%\bin\ installer\windows\csound6_x64_appveyor.iss /o msvc\
  - 7z a csound.zip %APPVEYOR_BUILD_FOLDER%\msvc\csound-vs\Release\*.exe %APPVEYOR_BUILD_FOLDER%\msvc\csound-vs\Release\csound64.lib %APPVEYOR_BUILD_FOLDER%\include\ %APPVEYOR_BUILD_FOLDER%\msvc\csound-vs\Release\*.dll %APPVEYOR_BUILD_FOLDER%\msvc\csound-vs\Release\*.pyd %APPVEYOR_BUILD_FOLDER%\msvc\csound-vs\*.jar %APPVEYOR_BUILD_FOLDER%\msvc\csound-vs\*.py %APPVEYOR_BUILD_FOLDER%\msvc\staging\CsoundQt\bin\*.exe
  - 7z l csound.zip

artifacts:
  - path: csound.zip
    name: Csound
    type: zip
  - path: msvc/Setup_Csound_x64_6.09.2beta3.exe
    name: Csound Installer
    type: exe

cache:<commit_msg>AppVeyor build of CsoundQt (#793).<commit_after>image: Visual Studio 2017

environment:
  QTDIR: C:\Qt\5.9.1\msvc2017_64
  VCPKGDir: C:\Tools\vcpkg

install:
  - set
  - cd msvc
  - powershell -ExecutionPolicy ByPass -File downloadDependencies.ps1
  - powershell -ExecutionPolicy ByPass -File generateProject.ps1
  - cd ..

platform: x64

configuration: Release

build:
  parallel: true
  project: msvc\csound-vs\Csound.sln

after_build:
  - dir "%VCPKGDir%\installed\x64-windows\include"
  - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
  - set PATH=%QTDIR%\bin;%PATH%
  - cd msvc
  # Report qmake version to make sure we are using the Qt libraries we need.
  - qmake -v
  - build_csoundqt.bat
  - echo "INCLUDE:" %INCLUDE%
  - set INCLUDE=%INCLUDE%;"%VCPKGDir%\installed\x64-windows\include"
  - echo "INCLUDE:" %INCLUDE%
  - cd ..
  - set PATH=%PATH%;"C:\\Program Files (x86)\\Inno Setup 5"
  - iscc /dVcpkgInstalledBinDir=%VCPKGDir%\installed\x64-windows\bin\ /dQtSdkBinDir=%QTDIR%\bin\ /omsvc installer\windows\csound6_x64_appveyor.iss 
  - 7z a csound.zip %APPVEYOR_BUILD_FOLDER%\msvc\csound-vs\Release\*.exe %APPVEYOR_BUILD_FOLDER%\msvc\csound-vs\Release\csound64.lib %APPVEYOR_BUILD_FOLDER%\include\ %APPVEYOR_BUILD_FOLDER%\msvc\csound-vs\Release\*.dll %APPVEYOR_BUILD_FOLDER%\msvc\csound-vs\Release\*.pyd %APPVEYOR_BUILD_FOLDER%\msvc\csound-vs\*.jar %APPVEYOR_BUILD_FOLDER%\msvc\csound-vs\*.py %APPVEYOR_BUILD_FOLDER%\msvc\staging\CsoundQt\bin\*.exe
  - 7z l csound.zip

artifacts:
  - path: csound.zip
    name: Csound
    type: zip
  - path: msvc/Setup_Csound_x64_6.09.2beta3.exe
    name: Csound Installer
    type: exe

cache:
{'fraction_non_alphanumeric': 0.1320580067880284, 'fraction_numerical': 0.029929034248688677, 'mean_word_length': 3.875187969924812, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2674455', 'n_tokens_mistral': 1429, 'n_tokens_neox': 1325, 'n_words': 220}