Skip to content
This repository was archived by the owner on May 20, 2021. It is now read-only.

Commit 8585fc8

Browse files
committed
Attempt to setup Appveyor
1 parent 2a1c03e commit 8585fc8

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.appveyor.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
image:
2+
- Visual Studio 2017
3+
4+
platform:
5+
- x64
6+
7+
environment:
8+
global:
9+
GAMEKIT_SYSTEM_NAME: snake
10+
GAMEKIT_APPLICATION_PACKAGE: snake
11+
GAMEKIT_APPLICATION_MAIN_CLASS: snake-game
12+
GAMEKIT_ARTIFACT: $(GAMEKIT_SYSTEM_NAME)-x86-64-windows.zip
13+
GAMEKIT_BUILD_DIR: $(TMP)/$(GAMEKIT_SYSTEM_NAME)
14+
15+
skip_non_tags: true
16+
17+
branches:
18+
only:
19+
- master
20+
- "/^v\\d+(\\.\\d+)+$/"
21+
22+
23+
install:
24+
- set PATH=C:/msys64/usr/bin;%PATH%
25+
- pacman --noconfirm -Syu
26+
- pacman --noconfirm -S zip
27+
- sh -c "curl -L http://bodge.borodust.org/files/install.sh | sh"
28+
29+
build_script:
30+
- >
31+
sh -c "$HOME/bin/lisp $HOME/bodge/scripts/build-gamekit-system.lisp
32+
%GAMEKIT_SYSTEM_NAME% %GAMEKIT_APPLICATION_PACKAGE% %GAMEKIT_APPLICATION_MAIN_CLASS%
33+
$(cygpath -u '%APPVEYOR_BUILD_FOLDER%')
34+
$(cygpath -u '%GAMEKIT_BUILD_DIR%')"
35+
- mv %GAMEKIT_BUILD_DIR%/%GAMEKIT_SYSTEM_NAME%.zip %GAMEKIT_ARTIFACT%
36+
37+
artifacts:
38+
- path: "%GAMEKIT_ARTIFACT%"
39+
name: release_archive
40+
41+
deploy:
42+
provider: GitHub
43+
auth_token:
44+
secure: "+JS5PfqKJjiqLG/FWWl4DTyza/fNDDhK75vD99XZaeA6uaviWUgmFWGIe8UwEk5K"
45+
artifact: release_archive
46+
force_update: true

0 commit comments

Comments
 (0)