File tree Expand file tree Collapse file tree 3 files changed +6
-17
lines changed Expand file tree Collapse file tree 3 files changed +6
-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 :
@@ -18,7 +19,6 @@ environment:
18
19
# Python versions to build wheels for
19
20
PYTHONVERS : C:\Python36-x64 C:\Python37-x64 C:\Python38-x64 C:\Python39-x64
20
21
PYTHON_ARCH : " 64"
21
- MSVC : " Visual Studio 14 Win64"
22
22
23
23
install :
24
24
# If there is a newer build queued for the same PR, cancel this one.
Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ IF "%PYTHON_VERSION%" == "2.7" (exit 0)
3
3
mkdir src
4
4
cd src
5
5
6
- set CMAKE_PLATFORM = " %MSVC% "
7
-
8
- cmake ..\libssh -G %CMAKE_PLATFORM% ^
6
+ cmake ..\libssh ^
9
7
-DCMAKE_BUILD_TYPE=Release ^
10
8
-DZLIB_LIBRARY=C:/zlib/lib/zlibstatic.lib ^
11
9
-DZLIB_INCLUDE_DIR=C:/zlib/include ^
Original file line number Diff line number Diff line change @@ -2,19 +2,10 @@ IF "%PYTHON_VERSION%" == "2.7" (exit 0)
2
2
3
3
mkdir zlib_build && cd zlib_build
4
4
5
- IF " %MSVC% " == " Visual Studio 9" (
6
- ECHO " Building without platform set"
7
- cmake ..\zlib-1.2.11 -G " NMake Makefiles" ^
8
- -DCMAKE_INSTALL_PREFIX=" C:\zlib" ^
9
- -DCMAKE_BUILD_TYPE=Release ^
10
- -DBUILD_SHARED_LIBS=OFF
11
- ) ELSE (
12
- ECHO " Building with platform %MSVC% "
13
- cmake ..\zlib-1.2.11 ^
14
- -G" %MSVC% " ^
15
- -DCMAKE_INSTALL_PREFIX=" C:\zlib" ^
16
- -DCMAKE_BUILD_TYPE=Release ^
17
- -DBUILD_SHARED_LIBS=OFF
5
+ cmake ..\zlib-1.2.11 ^
6
+ -DCMAKE_INSTALL_PREFIX=" C:\zlib" ^
7
+ -DCMAKE_BUILD_TYPE=Release ^
8
+ -DBUILD_SHARED_LIBS=OFF
18
9
)
19
10
20
11
cmake --build . --config Release --target install
You can’t perform that action at this time.
0 commit comments