Skip to content

Commit 9bc10f9

Browse files
committed
ci: Fix appveyor build specifying correct AppVeyor image
Since scikit-build 0.10.0 more carefully tests availability of Visual Studio generator, this commit fixes the issue using Visual Studio 2017 image for python 3.6 and python 3.7
1 parent 52e1da0 commit 9bc10f9

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

appveyor.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,52 +8,62 @@ version: "0.0.1.{build}"
88
environment:
99
matrix:
1010

11-
- PYTHON_DIR: "C:\\Python27"
11+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
12+
PYTHON_DIR: "C:\\Python27"
1213
PYTHON_VERSION: "2.7.x"
1314
PYTHON_ARCH: "32"
1415
BLOCK: "0"
1516

16-
- PYTHON_DIR: "C:\\Python27-x64"
17+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
18+
PYTHON_DIR: "C:\\Python27-x64"
1719
PYTHON_VERSION: "2.7.x"
1820
PYTHON_ARCH: "64"
1921
BLOCK: "0"
2022

21-
- PYTHON_DIR: "C:\\Python34"
23+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
24+
PYTHON_DIR: "C:\\Python34"
2225
PYTHON_VERSION: "3.4.x"
2326
PYTHON_ARCH: "32"
2427
BLOCK: "0"
2528

26-
- PYTHON_DIR: "C:\\Python34-x64"
29+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
30+
PYTHON_DIR: "C:\\Python34-x64"
2731
PYTHON_VERSION: "3.4.x"
2832
PYTHON_ARCH: "64"
2933
BLOCK: "0"
3034

31-
- PYTHON_DIR: "C:\\Python35"
35+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
36+
PYTHON_DIR: "C:\\Python35"
3237
PYTHON_VERSION: "3.5.x"
3338
PYTHON_ARCH: "32"
3439
BLOCK: "0"
3540

36-
- PYTHON_DIR: "C:\\Python35-x64"
41+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
42+
PYTHON_DIR: "C:\\Python35-x64"
3743
PYTHON_VERSION: "3.5.x"
3844
PYTHON_ARCH: "64"
3945
BLOCK: "0"
4046

41-
- PYTHON_DIR: "C:\\Python36"
47+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
48+
PYTHON_DIR: "C:\\Python36"
4249
PYTHON_VERSION: "3.6.x"
4350
PYTHON_ARCH: "32"
4451
BLOCK: "0"
4552

46-
- PYTHON_DIR: "C:\\Python36-x64"
53+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
54+
PYTHON_DIR: "C:\\Python36-x64"
4755
PYTHON_VERSION: "3.6.x"
4856
PYTHON_ARCH: "64"
4957
BLOCK: "0"
5058

51-
- PYTHON_DIR: "C:\\Python37"
59+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
60+
PYTHON_DIR: "C:\\Python37"
5261
PYTHON_VERSION: "3.7.x"
5362
PYTHON_ARCH: "64"
5463
BLOCK: "0"
5564

56-
- PYTHON_DIR: "C:\\Python37-x64"
65+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
66+
PYTHON_DIR: "C:\\Python37-x64"
5767
PYTHON_VERSION: "3.7.x"
5868
PYTHON_ARCH: "64"
5969
BLOCK: "0"

0 commit comments

Comments
 (0)