Skip to content

Commit

Permalink
Build native jN.dll only on v141_xp platform
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugen Kremer committed Jun 13, 2020
1 parent 75441e4 commit 7022188
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ image: Visual Studio 2017

environment:
matrix:
- PlatformToolset: v140_xp
- PlatformToolset: v141_xp

platform:
Expand All @@ -22,7 +21,6 @@ install:
- if "%platform%"=="Win32" set archi=x86
- if "%platform%"=="Win32" set platform_input=x86

- if "%PlatformToolset%"=="v140_xp" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %archi%
- if "%PlatformToolset%"=="v141_xp" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %archi%

build_script:
Expand All @@ -41,7 +39,7 @@ after_build:
Push-AppveyorArtifact "$env:CONFIGURATION\jN.dll" -FileName jN.dll
}
if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "v140_xp") {
if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "v141_xp") {
$ZipFileName = "jN_$($env:APPVEYOR_REPO_TAG_NAME)_$($env:PLATFORM_INPUT).zip"
$JnDllPath = ""
Expand Down Expand Up @@ -73,5 +71,5 @@ deploy:
force_update: true
on:
appveyor_repo_tag: true
PlatformToolset: v140_xp
PlatformToolset: v141_xp
configuration: Release

0 comments on commit 7022188

Please sign in to comment.