This repository has been archived by the owner on May 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
image: | ||
- Visual Studio 2017 | ||
|
||
platform: | ||
- x64 | ||
|
||
environment: | ||
global: | ||
GAMEKIT_SYSTEM_NAME: snake | ||
GAMEKIT_APPLICATION_PACKAGE: snake | ||
GAMEKIT_APPLICATION_MAIN_CLASS: snake-game | ||
GAMEKIT_ARTIFACT: $(GAMEKIT_SYSTEM_NAME)-x86-64-windows.zip | ||
GAMEKIT_BUILD_DIR: $(TMP)/$(GAMEKIT_SYSTEM_NAME) | ||
|
||
skip_non_tags: true | ||
|
||
branches: | ||
only: | ||
- master | ||
- "/^v\\d+(\\.\\d+)+$/" | ||
|
||
|
||
install: | ||
- set PATH=C:/msys64/usr/bin;%PATH% | ||
- pacman --noconfirm -Syu | ||
- pacman --noconfirm -S zip | ||
- sh -c "curl -L http://bodge.borodust.org/files/install.sh | sh" | ||
|
||
build_script: | ||
- > | ||
sh -c "$HOME/bin/lisp $HOME/bodge/scripts/build-gamekit-system.lisp | ||
%GAMEKIT_SYSTEM_NAME% %GAMEKIT_APPLICATION_PACKAGE% %GAMEKIT_APPLICATION_MAIN_CLASS% | ||
$(cygpath -u '%APPVEYOR_BUILD_FOLDER%') | ||
$(cygpath -u '%GAMEKIT_BUILD_DIR%')" | ||
- mv %GAMEKIT_BUILD_DIR%/%GAMEKIT_SYSTEM_NAME%.zip %GAMEKIT_ARTIFACT% | ||
|
||
artifacts: | ||
- path: "%GAMEKIT_ARTIFACT%" | ||
name: release_archive | ||
|
||
deploy: | ||
provider: GitHub | ||
auth_token: | ||
secure: "+JS5PfqKJjiqLG/FWWl4DTyza/fNDDhK75vD99XZaeA6uaviWUgmFWGIe8UwEk5K" | ||
artifact: release_archive | ||
force_update: true |