Skip to content

Commit acc7c25

Browse files
authored
Added windows python 3.9 builds (#141)
* Added windows python 3.9 builds
1 parent ad1010f commit acc7c25

File tree

3 files changed

+13
-17
lines changed

3 files changed

+13
-17
lines changed

.appveyor.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ build:
33
parallel: true
44
verbosity: minimal
55
skip_branch_with_pr: true
6+
image: Visual Studio 2019
67

78
environment:
89
global:
@@ -14,12 +15,12 @@ environment:
1415
PYPI_PASS:
1516
secure: uXkrTaPGSNQdXTJIt3aiyyGnH/ZtvWbDVIXdMrsgwROIJ0kprWp5crS6TAqqddyrFxd7Trrfjg/TjM1/Yx9JzfuKTfoJh1zyviWD/j2zibsycmJQy4Q+CrZ6uI3IRQwe/2ILKxGzLGFBWaqt6C8NaQnkKP+h7ptnPeVhy1+kaOaJowwrCKWje1Ag3CJCAJxPjSC8yl1nlM3DA1rAIk2C5SR4eQQLJeEpPSg3nDnxR4o4YjmA7ILD3OuM1Fbh5iue/rUvWzdt6QCxCbE4egtrCQ==
1617
# Default python version to run single commands with
17-
PYTHON_DEF: "C:\\Python36-x64"
18-
PYTHON_VERSION: "3.6"
18+
PYTHON_DEF: "C:\\Python38-x64"
19+
PYTHON_VERSION: "3.8"
1920
# Python versions to build wheels for
20-
PYTHONVERS: C:\Python36-x64 C:\Python37-x64 C:\Python38-x64
21+
PYTHONVERS: C:\Python36-x64 C:\Python37-x64 C:\Python38-x64 C:\Python39-x64
2122
PYTHON_ARCH: "64"
22-
MSVC: "Visual Studio 14 Win64"
23+
MSVC: "Visual Studio 16 2019"
2324

2425
install:
2526
# If there is a newer build queued for the same PR, cancel this one.

ci/appveyor/build_ssh2.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ cmake ..\libssh2 -G "NMake Makefiles" ^
66
-DCMAKE_BUILD_TYPE=Release ^
77
-DCRYPTO_BACKEND=OpenSSL ^
88
-G"%MSVC%" ^
9+
-A x64 ^
910
-DBUILD_SHARED_LIBS=OFF ^
1011
-DENABLE_ZLIB_COMPRESSION=ON ^
1112
-DENABLE_CRYPT_NONE=ON ^

ci/appveyor/build_zlib.bat

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
1+
IF "%PYTHON_VERSION%" == "2.7" (exit 0)
2+
13
mkdir zlib_build && cd zlib_build
24

3-
IF "%MSVC%" == "Visual Studio 9" (
4-
ECHO "Building without platform set"
5-
cmake ..\zlib-1.2.11 -G "NMake Makefiles" ^
6-
-DCMAKE_INSTALL_PREFIX="C:\zlib" ^
7-
-DCMAKE_BUILD_TYPE=Release ^
8-
-DBUILD_SHARED_LIBS=OFF
9-
) ELSE (
10-
ECHO "Building with platform %MSVC%"
11-
cmake ..\zlib-1.2.11 ^
12-
-G"%MSVC%" ^
13-
-DCMAKE_INSTALL_PREFIX="C:\zlib" ^
14-
-DCMAKE_BUILD_TYPE=Release ^
15-
-DBUILD_SHARED_LIBS=OFF
5+
cmake ..\zlib-1.2.11 ^
6+
-A x64 ^
7+
-DCMAKE_INSTALL_PREFIX="C:\zlib" ^
8+
-DCMAKE_BUILD_TYPE=Release ^
9+
-DBUILD_SHARED_LIBS=OFF
1610
)
1711

1812
cmake --build . --config Release --target install

0 commit comments

Comments
 (0)