forked from jirutka/luapak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
41 lines (41 loc) · 1.05 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: '{branch}.{build}'
image: Visual Studio 2017 # Windows Server 2016
platform:
- x64
- x86
environment:
matrix:
- LUA_VERSION: lua-5.3
matrix:
# Immediately finish build once one of the jobs fails.
fast_finish: true
branches:
except:
- gh-pages
clone_depth: 50
install:
- ps: |
switch ($env:PLATFORM) {
"x64" { $env:MSYSTEM = "MINGW64"; $env:TARGET_ARCH = "x86_64" }
"x86" { $env:MSYSTEM = "MINGW32"; $env:TARGET_ARCH = "x86" }
}
- SET PATH=C:\msys64\%MSYSTEM%\bin;C:\msys64\%MSYSTEM%\usr\bin;C:\msys64\usr\bin;%PATH%
- sh -c 'uname -a'
- sh -c 'gcc --version'
- sh -c script/bootstrap
build_script:
- sh -c 'cp .venv/lib/liblua*.a .venv/bin/liblua.a' # XXX: temporary hack!
- sh -c script/build-standalone
after_build:
- sh -c script/ci-artifact
artifacts:
- path: dist\*.zip*
name: luapak
deploy:
provider: GitHub
auth_token:
secure: 1/r/2LKvSANrBoD9Nu3lMPHbhcCDcKAo2k8I1Fb4FBR/Jz08FksbcROSUBfeDqDt
artifact: luapak
on:
# Deploy on tag push only.
appveyor_repo_tag: true