Skip to content

Commit

Permalink
Added windows python 3.9 builds (#141)
Browse files Browse the repository at this point in the history
* Added windows python 3.9 builds
  • Loading branch information
pkittenis authored Jan 2, 2021
1 parent ad1010f commit acc7c25
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 17 deletions.
9 changes: 5 additions & 4 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ build:
parallel: true
verbosity: minimal
skip_branch_with_pr: true
image: Visual Studio 2019

environment:
global:
Expand All @@ -14,12 +15,12 @@ environment:
PYPI_PASS:
secure: uXkrTaPGSNQdXTJIt3aiyyGnH/ZtvWbDVIXdMrsgwROIJ0kprWp5crS6TAqqddyrFxd7Trrfjg/TjM1/Yx9JzfuKTfoJh1zyviWD/j2zibsycmJQy4Q+CrZ6uI3IRQwe/2ILKxGzLGFBWaqt6C8NaQnkKP+h7ptnPeVhy1+kaOaJowwrCKWje1Ag3CJCAJxPjSC8yl1nlM3DA1rAIk2C5SR4eQQLJeEpPSg3nDnxR4o4YjmA7ILD3OuM1Fbh5iue/rUvWzdt6QCxCbE4egtrCQ==
# Default python version to run single commands with
PYTHON_DEF: "C:\\Python36-x64"
PYTHON_VERSION: "3.6"
PYTHON_DEF: "C:\\Python38-x64"
PYTHON_VERSION: "3.8"
# Python versions to build wheels for
PYTHONVERS: C:\Python36-x64 C:\Python37-x64 C:\Python38-x64
PYTHONVERS: C:\Python36-x64 C:\Python37-x64 C:\Python38-x64 C:\Python39-x64
PYTHON_ARCH: "64"
MSVC: "Visual Studio 14 Win64"
MSVC: "Visual Studio 16 2019"

install:
# If there is a newer build queued for the same PR, cancel this one.
Expand Down
1 change: 1 addition & 0 deletions ci/appveyor/build_ssh2.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ cmake ..\libssh2 -G "NMake Makefiles" ^
-DCMAKE_BUILD_TYPE=Release ^
-DCRYPTO_BACKEND=OpenSSL ^
-G"%MSVC%" ^
-A x64 ^
-DBUILD_SHARED_LIBS=OFF ^
-DENABLE_ZLIB_COMPRESSION=ON ^
-DENABLE_CRYPT_NONE=ON ^
Expand Down
20 changes: 7 additions & 13 deletions ci/appveyor/build_zlib.bat
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
IF "%PYTHON_VERSION%" == "2.7" (exit 0)

mkdir zlib_build && cd zlib_build

IF "%MSVC%" == "Visual Studio 9" (
ECHO "Building without platform set"
cmake ..\zlib-1.2.11 -G "NMake Makefiles" ^
-DCMAKE_INSTALL_PREFIX="C:\zlib" ^
-DCMAKE_BUILD_TYPE=Release ^
-DBUILD_SHARED_LIBS=OFF
) ELSE (
ECHO "Building with platform %MSVC%"
cmake ..\zlib-1.2.11 ^
-G"%MSVC%" ^
-DCMAKE_INSTALL_PREFIX="C:\zlib" ^
-DCMAKE_BUILD_TYPE=Release ^
-DBUILD_SHARED_LIBS=OFF
cmake ..\zlib-1.2.11 ^
-A x64 ^
-DCMAKE_INSTALL_PREFIX="C:\zlib" ^
-DCMAKE_BUILD_TYPE=Release ^
-DBUILD_SHARED_LIBS=OFF
)

cmake --build . --config Release --target install
Expand Down

0 comments on commit acc7c25

Please sign in to comment.