Skip to content

Commit

Permalink
AppVeyor CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasfeijo committed Apr 29, 2019
1 parent ad06922 commit c0af079
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
image:
- Visual Studio 2017

platform:
- x64

environment:
global:
GAMEKIT_SYSTEM_NAME: pong
GAMEKIT_APPLICATION_PACKAGE: com.eliasfeijo.pong
GAMEKIT_APPLICATION_MAIN_CLASS: pong
GAMEKIT_ARTIFACT: $(GAMEKIT_SYSTEM_NAME)-x86-64-windows-$(APPVEYOR_REPO_TAG_NAME).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 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
release: $(APPVEYOR_REPO_TAG_NAME)
tag: $(APPVEYOR_REPO_TAG_NAME)
description: $(APPVEYOR_REPO_COMMIT_MESSAGE)
auth_token:
secure: ghmqNp/hAIqLYfStAIZJ01f0kphdDWIHtSUqDKcIHMzJiXroqwX4V+h0jKt8HT/c
artifact: release_archive
force_update: true
draft: false
prerelease: false
on:
appveyor_repo_tag: true

0 comments on commit c0af079

Please sign in to comment.