-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
59 lines (47 loc) · 1.1 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: 0.0.1.{build}-test
shallow_clone: true
image: Visual Studio 2017
environment:
matrix:
- LUA_VER: 5.1.5
- LUA_VER: 5.2.4
- LUA_VER: 5.3.6
- LUA_VER: 5.4.7
- LUA_VER: 5.2.4
NOCOMPAT: true
- LUA_VER: 5.3.6
NOCOMPAT: true
- LUA_VER: 5.4.7
NOCOMPAT: true
# Abuse this section so we can have a matrix with different Compiler versions
# Is there a better way? Like injecting an array in the matrix?
configuration:
- 2017
- 2015
- 2013
- 2012
- MinGW
#- 2010
#- 2008
platform:
- x86
- x64
init:
install:
# Make compiler command line tools available
- call .appveyor\set_compiler_env.bat
# Get Lua sources
- call .appveyor\install.bat
before_build:
build_script:
- call .appveyor\build.bat
before_test:
test_script:
- echo "Testing..."
- call lua -v
on_success:
- echo "Generating artifacts"
# Must be done here instead of in a batch file (it times out)
- cd %INSTALL_DIR%
- 7z a -tzip luawinmake-%LUA_VER%-%APPVEYOR_REPO_COMMIT%-%platform%-%Configuration%.zip %INSTALL_DIR%\*
- appveyor PushArtifact luawinmake-%LUA_VER%-%APPVEYOR_REPO_COMMIT%-%platform%-%Configuration%.zip