From: alex85k Date: Sat, 5 Dec 2020 12:27:13 +0000 (+0500) Subject: CI: appveyor upgrade to VS2019 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=32e92041e08fa1ce3b90ee0c68b861c0cc7ad21b;p=sqlite3-cmake.git CI: appveyor upgrade to VS2019 --- diff --git a/appveyor.yml b/appveyor.yml index 360c1c8..2efbf4a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,65 +1,65 @@ -environment: - P: "c:/projects/libs" - ACCOUNT: - secure: F8Xu4syZJRRLmTnPDOUjr5bG7Lk6UburldIUuxZ/OJQ= - githubtk: - secure: qrVq5CxwKaOg2SohTmLQL6H6llxcxg1IJbF4r7Cx0Q7xxOsCPc49l2DzmlQIkui8 - -# branches to build -branches: - # whitelist - only: - - master - -# Operating system (build VM template) -os: Visual Studio 2015 - -# scripts that are called at very beginning, before repo cloning -init: - - git config --global core.autocrlf input - - -# clone directory -clone_folder: c:\projects\sqlite - -platform: x64 -configuration: Release - -install: - # by default, all script lines are interpreted as batch - -build: - project: INSTALL.vcxproj # path to Visual Studio solution or project - -# scripts to run before build -before_build: - - echo Running cmake... - - cd c:\projects\sqlite - - cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=%P% - -# scripts to run after build -after_build: - - cd %P% - - 7z a c:\projects\sqlite\sqlite.zip * -tzip - - cd c:\projects\sqlite - -artifacts: - - path: sqlite.zip - name: sqlite.zip - -#@deploy_script: -# - cd c:\projects\sqlite -# - curl -T sqlite.zip --user %ACCOUNT% https://webdav.yandex.ru/libs/sqlite.zip - -deploy: - release: sqlite-v$(appveyor_build_version) - description: 'Automatic release by Appveyor.com' - provider: GitHub - auth_token: - secure: qrVq5CxwKaOg2SohTmLQL6H6llxcxg1IJbF4r7Cx0Q7xxOsCPc49l2DzmlQIkui8 - artifact: /.*\.zip/ # upload all NuGet packages to release assets - draft: false - prerelease: false - on: - branch: master # release from master branch only - appveyor_repo_tag: true # deploy on tag push only +environment: + P: "c:/projects/libs" + ACCOUNT: + secure: F8Xu4syZJRRLmTnPDOUjr5bG7Lk6UburldIUuxZ/OJQ= + githubtk: + secure: qrVq5CxwKaOg2SohTmLQL6H6llxcxg1IJbF4r7Cx0Q7xxOsCPc49l2DzmlQIkui8 + +# branches to build +branches: + # whitelist + only: + - master + +# Operating system (build VM template) +os: Visual Studio 2019 + +# scripts that are called at very beginning, before repo cloning +init: + - git config --global core.autocrlf input + + +# clone directory +clone_folder: c:\projects\sqlite + +platform: x64 +configuration: Release + +install: + # by default, all script lines are interpreted as batch + +build: + project: INSTALL.vcxproj # path to Visual Studio solution or project + +# scripts to run before build +before_build: + - echo Running cmake... + - cd c:\projects\sqlite + - cmake -G "Visual Studio 16 2019 Win64" -DCMAKE_INSTALL_PREFIX=%P% + +# scripts to run after build +after_build: + - cd %P% + - 7z a c:\projects\sqlite\sqlite.zip * -tzip + - cd c:\projects\sqlite + +artifacts: + - path: sqlite.zip + name: sqlite.zip + +#@deploy_script: +# - cd c:\projects\sqlite +# - curl -T sqlite.zip --user %ACCOUNT% https://webdav.yandex.ru/libs/sqlite.zip + +deploy: + release: sqlite-v$(appveyor_build_version) + description: 'Automatic release by Appveyor.com' + provider: GitHub + auth_token: + secure: qrVq5CxwKaOg2SohTmLQL6H6llxcxg1IJbF4r7Cx0Q7xxOsCPc49l2DzmlQIkui8 + artifact: /.*\.zip/ # upload all NuGet packages to release assets + draft: false + prerelease: false + on: + branch: master # release from master branch only + appveyor_repo_tag: true # deploy on tag push only