File tree 3 files changed +13
-17
lines changed 3 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 3
3
parallel : true
4
4
verbosity : minimal
5
5
skip_branch_with_pr : true
6
+ image : Visual Studio 2019
6
7
7
8
environment :
8
9
global :
@@ -14,12 +15,12 @@ environment:
14
15
PYPI_PASS :
15
16
secure : uXkrTaPGSNQdXTJIt3aiyyGnH/ZtvWbDVIXdMrsgwROIJ0kprWp5crS6TAqqddyrFxd7Trrfjg/TjM1/Yx9JzfuKTfoJh1zyviWD/j2zibsycmJQy4Q+CrZ6uI3IRQwe/2ILKxGzLGFBWaqt6C8NaQnkKP+h7ptnPeVhy1+kaOaJowwrCKWje1Ag3CJCAJxPjSC8yl1nlM3DA1rAIk2C5SR4eQQLJeEpPSg3nDnxR4o4YjmA7ILD3OuM1Fbh5iue/rUvWzdt6QCxCbE4egtrCQ==
16
17
# 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 "
19
20
# 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
21
22
PYTHON_ARCH : " 64"
22
- MSVC : " Visual Studio 14 Win64 "
23
+ MSVC : " Visual Studio 16 2019 "
23
24
24
25
install :
25
26
# If there is a newer build queued for the same PR, cancel this one.
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ cmake ..\libssh2 -G "NMake Makefiles" ^
6
6
-DCMAKE_BUILD_TYPE=Release ^
7
7
-DCRYPTO_BACKEND=OpenSSL ^
8
8
-G" %MSVC% " ^
9
+ -A x64 ^
9
10
-DBUILD_SHARED_LIBS=OFF ^
10
11
-DENABLE_ZLIB_COMPRESSION=ON ^
11
12
-DENABLE_CRYPT_NONE=ON ^
Original file line number Diff line number Diff line change
1
+ IF " %PYTHON_VERSION% " == " 2.7" (exit 0)
2
+
1
3
mkdir zlib_build && cd zlib_build
2
4
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
16
10
)
17
11
18
12
cmake --build . --config Release --target install
You can’t perform that action at this time.
0 commit comments