From 12c5adcac35702a97d81b854fbfab30e15fe58cd Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Thu, 16 Jul 2020 11:32:28 +0200 Subject: [PATCH] AppVeyor: Update build environment and save artifacts (#875) - Updates the build environment to the Visual Studio 2019 image - Saves the build folder as an artifact - Unfreeze cx_Freeze version to allow dev builds with Python 3.7 and 3.8 - Use Python 3.8 in AppVeyor builds --- appveyor.yml | 9 ++++++--- dev_requirements.txt | 5 +++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 2b7b695a80..387267a8f5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,6 @@ - +image: Visual Studio 2019 environment: - matrix: - - PYTHON: "C:\\Python36-x64" + PYTHON: "C:\\Python38-x64" install: - "set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" @@ -14,3 +13,7 @@ test_script: after_test: - "python setup.py build" + - 7z a meshroomWin64snapshot%APPVEYOR_PULL_REQUEST_HEAD_COMMIT%.zip ./build/* + +artifacts: + - path: meshroomWin64*.zip diff --git a/dev_requirements.txt b/dev_requirements.txt index 8a9d354b7d..7007bbbb9c 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -1,5 +1,6 @@ # packaging -cx_Freeze==5.1.1 +cx_Freeze +# use cx_Freeze==5.1.1 for Python-2 # testing -pytest \ No newline at end of file +pytest