Skip to content

Commit 8bc507b

Browse files
committed
update AppVeyor to use new way and VS2017
1 parent d904201 commit 8bc507b

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

appveyor.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: BuildNr.{build}
22

3-
image: Visual Studio 2015
3+
image: Visual Studio 2017
44

55
shallow_clone: true
66

@@ -10,12 +10,14 @@ environment:
1010
app_id: vfs.smb2
1111

1212
matrix:
13-
- GENERATOR: "Visual Studio 14"
13+
- GENERATOR: "Visual Studio 15 2017"
14+
ARCHITECTURE: Win32
1415
CONFIGURATION: Release
15-
WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.14393.0"
16-
- GENERATOR: "Visual Studio 14 Win64"
16+
WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.17763.0"
17+
- GENERATOR: "Visual Studio 15 2017"
18+
ARCHITECTURE: x64
1719
CONFIGURATION: Release
18-
WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.14393.0"
20+
WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.17763.0"
1921

2022
build_script:
2123
- cd ..
@@ -25,5 +27,5 @@ build_script:
2527
- cd build
2628
- mkdir -p definition\%app_id%
2729
- echo %app_id% %APPVEYOR_BUILD_FOLDER% %APPVEYOR_REPO_COMMIT% > definition\%app_id%\%app_id%.txt
28-
- cmake -T host=x64 -G "%GENERATOR%" %WINSTORE% -DADDONS_TO_BUILD=%app_id% -DCMAKE_BUILD_TYPE=%CONFIG% -DADDONS_DEFINITION_DIR=%APPVEYOR_BUILD_FOLDER%/build/definition -DADDON_SRC_PREFIX=../.. -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons
30+
- cmake -T host=x64 -G "%GENERATOR%" -A %ARCHITECTURE% %WINSTORE% -DADDONS_TO_BUILD=%app_id% -DCMAKE_BUILD_TYPE=%CONFIG% -DADDONS_DEFINITION_DIR=%APPVEYOR_BUILD_FOLDER%/build/definition -DADDON_SRC_PREFIX=../.. -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons
2931
- cmake --build . --config %CONFIG% --target %app_id%

0 commit comments

Comments
 (0)