-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(build): add appveyor configuration
- Loading branch information
Showing
6 changed files
with
92 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
image: Visual Studio 2017 | ||
|
||
clone_folder: c:\projects\oss13 | ||
clone_depth: 10 | ||
|
||
matrix: | ||
fast_finish: false | ||
|
||
platform: x64 | ||
configuration: Debug | ||
|
||
environment: | ||
APPVEYOR_SAVE_CACHE_ON_ERROR: true | ||
TOOLCHAIN: msvc15 | ||
|
||
skip_commits: | ||
files: | ||
- GameLogic/* | ||
- Resources/* | ||
|
||
install: | ||
- git submodule update --init --recursive | ||
|
||
- cd C:\Tools\vcpkg | ||
- git pull | ||
- .\bootstrap-vcpkg.bat | ||
- vcpkg integrate install | ||
- cd %APPVEYOR_BUILD_FOLDER% | ||
|
||
- vcpkg install python3:x64-windows-static | ||
- vcpkg install sfml:x64-windows-static | ||
- vcpkg install gtest:x64-windows-static | ||
|
||
cache: c:\tools\vcpkg\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
image: Visual Studio 2017 | ||
|
||
clone_folder: c:\projects\oss13 | ||
clone_depth: 10 | ||
|
||
version: '0.0.{build}' | ||
|
||
configuration: Release | ||
|
||
environment: | ||
APPVEYOR_SAVE_CACHE_ON_ERROR: true | ||
TOOLCHAIN: msvc15 | ||
|
||
branches: | ||
only: | ||
- never-build-branch-automatically-dont-use-this-name | ||
|
||
platform: | ||
- x64 | ||
- x86 | ||
|
||
matrix: | ||
fast_finish: true | ||
|
||
install: | ||
- git submodule update --init --recursive | ||
|
||
- cd C:\Tools\vcpkg | ||
- git pull | ||
- .\bootstrap-vcpkg.bat | ||
- vcpkg integrate install | ||
- cd %APPVEYOR_BUILD_FOLDER% | ||
|
||
- vcpkg install "python3:%platform%-windows-static" | ||
- vcpkg install "sfml:%platform%-windows-static" | ||
- vcpkg install "gtest:%platform%-windows-static" | ||
|
||
cache: c:\tools\vcpkg\installed\ | ||
|
||
after_build: | ||
- set BIN_FOLDER_SUFFIX=%platform% | ||
- if "%BIN_FOLDER_SUFFIX%"=="x86" (set BIN_FOLDER_SUFFIX=Win32) | ||
|
||
- 7z a "OSS13-%platform%-%appveyor_build_version%.zip" "%APPVEYOR_BUILD_FOLDER%\bin\Release-%BIN_FOLDER_SUFFIX%\OSS13 Client.exe" "%APPVEYOR_BUILD_FOLDER%\bin\Release-%BIN_FOLDER_SUFFIX%\OSS13 Server.exe" Resources -ir!GameLogic\*.py Arialuni.ttf LICENSE README.md UsersDB | ||
|
||
artifacts: | ||
- path: "OSS13-$(platform)-%appveyor_build_version%.zip" | ||
|
||
deploy: | ||
release: OSS13-v$(appveyor_build_version) | ||
provider: GitHub | ||
auth_token: | ||
secure: ZcnounehZDOonSsgvbGJvqxU+3N+s8nY6TvkQldbw7OWOjWujaExqvYoHsqsapgf | ||
force_update: true | ||
artifacts: /.*\.zip |
File renamed without changes.
File renamed without changes.
File renamed without changes.