-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from RnDome/ms_artifacts
Adds artifacts for MS builds from AppVeyor
- Loading branch information
Showing
3 changed files
with
24 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,33 @@ | ||
version: "{build}" | ||
|
||
os: Visual Studio 2017 | ||
platform: Any CPU | ||
configuration: | ||
- Debug | ||
- Release | ||
|
||
os: Visual Studio 2017 | ||
|
||
clone_depth: 1 | ||
|
||
clone_folder: C:\projects\bwapi-c | ||
|
||
branches: | ||
only: | ||
- master | ||
except: | ||
- gh-pages | ||
|
||
test: off | ||
|
||
artifacts: | ||
- path: build\bwapi-c-*.zip | ||
|
||
install: | ||
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH% | ||
|
||
before_build: | ||
- cmd: sh -c "mkdir deps" | ||
- cmd: sh -c "curl --silent --retry 10 -kLy 5 -o deps/BWAPI_420.7z https://github.com/bwapi/bwapi/releases/download/v4.2.0/BWAPI_420.7z" | ||
- cmd: sh -c "7z x -odeps/BWAPI_420 -y deps/BWAPI_420.7z" | ||
- cmd: mkdir deps | ||
- cmd: curl --silent --retry 10 -kLy 5 -o deps/BWAPI_420.7z "https://github.com/bwapi/bwapi/releases/download/v4.2.0/BWAPI_420.7z" | ||
- cmd: 7z x -odeps\BWAPI_420 -y deps\BWAPI_420.7z | ||
- cmd: mkdir build | ||
- cmd: cd build | ||
- cmd: cmake .. -G"Visual Studio 15 2017" -DBWAPI_PATH="C:\projects\bwapi-c\deps\BWAPI_420\Release_Binary" | ||
|
||
build_script: | ||
- cmd: cmake --build . --config %configuration% | ||
|
||
test: off | ||
- cmd: cmake --build . --config %configuration% --target package |
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