-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
47 lines (35 loc) · 1.24 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
version: 0.1.{build}-dev
shallow_clone: true
environment:
LUAROCKS_VER: 2.4.1
LUA_VER: 5.1.4
CURRENT_BRANCH: master
platform:
- x86
- x64
cache:
- c:\lua -> appveyor.yml
- c:\external -> appveyor.yml
# Skip unsupported combinations (ie, VS2008 for x64 is not supported)
init:
- if "%platform%" EQU "x64" ( for %%a in (2008 2010 MinGW) do ( if "%Configuration%"=="%%a" (echo "Skipping unsupported configuration" && exit /b 1 ) ) )
install:
- git clone https://github.com/lidesdk/appveyor_lua.git .appveyor
# Make compiler command line tools available
- call .appveyor\set_compiler_env.bat
# Setup Lua development/build environment
- call .appveyor\install.bat
before_build:
- echo "Installing external deps"
- luarocks install luafilesystem
build_script:
# Create lide install directory and go to it (C:\lide):
- mkdir C:\lide
# Clone git repository and submodules:
- git clone https://github.com/lidesdk/shell.git --recursive C:\lide\shell && cd C:\lide\shell && git checkout %CURRENT_BRANCH% && cd C:\lide\shell\libraries\lide && git checkout %CURRENT_BRANCH%
# Create environment variable named LIDE_PATH:
- set LIDE_PATH=C:\lide\shell
- set PATH=%LIDE_PATH%;%PATH%
test_script:
- cd c:\projects\lidedate
- lide prueba.lua