Skip to content

Commit

Permalink
Appveyor support
Browse files Browse the repository at this point in the history
  • Loading branch information
pevisscher committed Aug 7, 2016
1 parent a400ae5 commit 163c909
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
10 changes: 10 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
platform:
- Win32
environment:
PYTHON: "C:\\Python35"
build: off
install:
- powershell -command "Invoke-WebRequest -Uri https://goo.gl/1Zcf72 -OutFile %TEMP%/install-zpm.bat" && %TEMP%/install-zpm.bat
- "SET PATH=%PATH%;%ALLUSERSPROFILE%/zpm"
test_script:
- script/appveyor-build.bat
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ When you use BSPLib as part of a scientific publication, we would love you to ci
This project is licensed under the MIT license.

```
Copyright (c) 2015 Mick van Duijn, Koen Visscher and Paul Visscher
Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
19 changes: 19 additions & 0 deletions script/appveyor-build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
premake5 install-package --allow-install --allow-module || exit /b
premake5 vs2015 || exit /b
msbuild bsp/BSPLib.sln /property:Configuration=Release /property:Platform=Win32 || exit /b
msbuild bsp/BSPLib.sln /property:Configuration=Debug /property:Platform=Win32 || exit /b
msbuild bsp/BSPLib.sln /property:Configuration=Release /property:Platform=x64 || exit /b
msbuild bsp/BSPLib.sln /property:Configuration=Debug /property:Platform=x64 || exit /b

cd test/
premake5 vs2015 || exit /b
msbuild zpm/BSPLib-ZPM.sln || exit /b

cd ../docs/images/ || exit /b
..\..\bin\x86\bsp-test.exe || exit /b
..\..\bin\x86\bsp-testd.exe || exit /b

..\..\bin\x86_64\bsp-test.exe || exit /b
..\..\bin\x86_64\bsp-testd.exe || exit /b

..\..\test\bin\x86\bsp-zpm-test.exe || exit /b

0 comments on commit 163c909

Please sign in to comment.