From 61032fd9b8e8724ce6a7ceca9badac4b148674c7 Mon Sep 17 00:00:00 2001 From: StiviiK Date: Thu, 22 Jun 2017 19:52:37 +0200 Subject: [PATCH] Implemented Windows x64 and x86 builds --- appveyor.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 72a6788..1696c1c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,20 +9,33 @@ before_build: clone_depth: 1 +platform: + - Win32 + - x64 + build: parallel: true project: Build/PathFind.sln +after_build: + - ps: | + if($env:PLATFORM -eq 'x64') { + $env:NAME = 'ml_pathfind_x64.dll' + } else { + $env:NAME = 'ml_pathfind_x86.dll' + } + mv Bin/Release/ml_pathfind.dll Bin/Release/$env:NAME + artifacts: - - path: Bin/Release/ml_pathfind.dll - name: ml_pathfind.dll + - path: Bin/Release/$(NAME) + name: "ml_pathfind" deploy: description: 'Pathfind module release' provider: GitHub auth_token: secure: gUShV8myZZHnM6U/HmGkJmtKslpUMglLZoeMPTyMbwNBNskDk0wQ/1HRMoYakQ7A - artifact: Bin/Release/ml_pathfind.dll + artifact: "ml_pathfind" draft: false prerelease: false on: