]> git.lizzy.rs Git - sqlite3-cmake.git/commitdiff
CI: appveyor upgrade to VS2019
authoralex85k <alex85k@github.com>
Sat, 5 Dec 2020 12:27:13 +0000 (17:27 +0500)
committeralex85k <alex85k@github.com>
Sat, 5 Dec 2020 12:27:13 +0000 (17:27 +0500)
appveyor.yml

index 360c1c8de9b6d54fbad069a57fe29cae83544661..2efbf4a1277525b085cd42aa6a66a01e79880c32 100644 (file)
@@ -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:\r
+  P: "c:/projects/libs"\r
+  ACCOUNT:\r
+      secure: F8Xu4syZJRRLmTnPDOUjr5bG7Lk6UburldIUuxZ/OJQ=\r
+  githubtk:\r
+      secure: qrVq5CxwKaOg2SohTmLQL6H6llxcxg1IJbF4r7Cx0Q7xxOsCPc49l2DzmlQIkui8\r
+\r
+# branches to build\r
+branches:\r
+  # whitelist\r
+  only:\r
+    - master\r
+\r
+# Operating system (build VM template)\r
+os: Visual Studio 2019\r
+\r
+# scripts that are called at very beginning, before repo cloning\r
+init:\r
+  - git config --global core.autocrlf input\r
+\r
+\r
+# clone directory\r
+clone_folder: c:\projects\sqlite\r
+\r
+platform: x64\r
+configuration: Release\r
+\r
+install:\r
+  # by default, all script lines are interpreted as batch\r
+\r
+build:\r
+  project: INSTALL.vcxproj      # path to Visual Studio solution or project\r
+\r
+# scripts to run before build\r
+before_build:\r
+  - echo Running cmake...\r
+  - cd c:\projects\sqlite\r
+  - cmake -G "Visual Studio 16 2019 Win64" -DCMAKE_INSTALL_PREFIX=%P%\r
+\r
+# scripts to run after build\r
+after_build:\r
+  - cd %P%\r
+  - 7z a c:\projects\sqlite\sqlite.zip * -tzip\r
+  - cd c:\projects\sqlite\r
+\r
+artifacts:\r
+  - path: sqlite.zip\r
+    name: sqlite.zip\r
+\r
+#@deploy_script:\r
+#  - cd c:\projects\sqlite\r
+#  - curl -T sqlite.zip --user %ACCOUNT% https://webdav.yandex.ru/libs/sqlite.zip\r
+\r
+deploy:\r
+  release: sqlite-v$(appveyor_build_version)\r
+  description: 'Automatic release by Appveyor.com'\r
+  provider: GitHub\r
+  auth_token:\r
+    secure: qrVq5CxwKaOg2SohTmLQL6H6llxcxg1IJbF4r7Cx0Q7xxOsCPc49l2DzmlQIkui8\r
+  artifact: /.*\.zip/            # upload all NuGet packages to release assets\r
+  draft: false\r
+  prerelease: false\r
+  on:\r
+    branch: master                 # release from master branch only\r
+    appveyor_repo_tag: true        # deploy on tag push only\r