Skip to content

Commit

Permalink
AppVeyor: Update build environment and save artifacts (#875)
Browse files Browse the repository at this point in the history
 - 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
  • Loading branch information
EwoutH authored Jul 16, 2020
1 parent 883a0d8 commit 12c5adc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
9 changes: 6 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -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%"
Expand All @@ -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
5 changes: 3 additions & 2 deletions dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# packaging
cx_Freeze==5.1.1
cx_Freeze
# use cx_Freeze==5.1.1 for Python-2

# testing
pytest
pytest

0 comments on commit 12c5adc

Please sign in to comment.