<commit_before>version: 0.0.0-{build}
configuration: Release
platform:
- x86
#- x64
cache: 
  - C:/Tools/vcpkg/installed/
environment:
  APPVEYOR_SAVE_CACHE_ON_ERROR: true
  matrix:
  - GENERATOR: "Visual Studio 14 2015"
    TARGET: x86-windows
  - GENERATOR: "Visual Studio 14 2015 Win64"
    TARGET: x64-windows
install:
# Update vcpkg
- cd c:\tools\vcpkg
- cmd: git fetch
- cmd: git checkout 2021.05.12
- cmd: bootstrap-vcpkg.bat
- cmd: vcpkg install gtest:x86-windows
- cmd: vcpkg install gtest:x64-windows
- cmd: vcpkg update
- cmd: vcpkg upgrade --no-dry-run
build_script:
- cmd: if exist "C:\projects\pkcs11test\build" rd /s /q C:\projects\pkcs11test\build
- cmd: mkdir C:\projects\pkcs11test\build
- cmd: cd C:\projects\pkcs11test\build
- cmd: vcpkg integrate install
- cmd: cmake .. -G "%GENERATOR%" -DVCPKG_TARGET_TRIPLET=%TARGET% -DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake 
- cmd: cmake --build . --config RelWithDebInfo
- cmd: ctest -C RelWithDebInfo --progress --verbose
- cmd: cpack
#on_finish:
#  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
artifacts:
  - path: **\*.zip
    name: artifacts-zip

deploy:
  release: pkcs11test-win32-v$(APPVEYOR_BUILD_VERSION)
  description: 'Release x86'
  provider: GitHub
  auth_token:
    secure: <KEY>FIV+E455sZqXTc/HQDPLSbHRTwEv5zpcdRA/n9xJGp
  artifact: artifacts-zip
  draft: true
  prerelease: false
  on:
    branch: dev
    APPVEYOR_REPO_TAG: true<commit_msg>fix change artifact zip path<commit_after>version: 0.0.0-{build}
configuration: Release
platform:
- x86
#- x64
cache: 
  - C:/Tools/vcpkg/installed/
environment:
  APPVEYOR_SAVE_CACHE_ON_ERROR: true
  matrix:
  - GENERATOR: "Visual Studio 14 2015"
    TARGET: x86-windows
  - GENERATOR: "Visual Studio 14 2015 Win64"
    TARGET: x64-windows
install:
# Update vcpkg
- cd c:\tools\vcpkg
- cmd: git fetch
- cmd: git checkout 2021.05.12
- cmd: bootstrap-vcpkg.bat
- cmd: vcpkg install gtest:x86-windows
- cmd: vcpkg install gtest:x64-windows
- cmd: vcpkg update
- cmd: vcpkg upgrade --no-dry-run
build_script:
- cmd: if exist "C:\projects\pkcs11test\build" rd /s /q C:\projects\pkcs11test\build
- cmd: mkdir C:\projects\pkcs11test\build
- cmd: cd C:\projects\pkcs11test\build
- cmd: vcpkg integrate install
- cmd: cmake .. -G "%GENERATOR%" -DVCPKG_TARGET_TRIPLET=%TARGET% -DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake 
- cmd: cmake --build . --config RelWithDebInfo
- cmd: ctest -C RelWithDebInfo --progress --verbose
- cmd: cpack
#on_finish:
#  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
artifacts:
  - path: *.zip
    name: artifacts-zip

deploy:
  release: pkcs11test-win32-v$(APPVEYOR_BUILD_VERSION)
  description: 'Release x86'
  provider: GitHub
  auth_token:
    secure: <KEY>
  artifact: artifacts-zip
  draft: true
  prerelease: false
  on:
    branch: dev
    APPVEYOR_REPO_TAG: true
{'fraction_non_alphanumeric': 0.1293888166449935, 'fraction_numerical': 0.035435630689206764, 'mean_word_length': 3.8996815286624202, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '2300796', 'n_tokens_mistral': 1290, 'n_tokens_neox': 1165, 'n_words': 261}