mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-22 02:53:06 +00:00
65 lines
1.2 KiB
YAML
65 lines
1.2 KiB
YAML
version: 0.0.1.{build}-test
|
|
|
|
# Use default image unless needed
|
|
#os:
|
|
#- Windows Server 2012 R2
|
|
|
|
shallow_clone: true
|
|
|
|
environment:
|
|
LUAROCKS_VER: 2.3.0
|
|
matrix:
|
|
- LUA_VER: 5.1.5
|
|
- LUA_VER: 5.2.4
|
|
NOCOMPAT: true
|
|
- LUA_VER: 5.3.2 # Lua 5.3.2 with compatibility flags disabled.
|
|
NOCOMPAT: true
|
|
- LJ_VER: 2.0.4
|
|
- LJ_VER: 2.1
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- configuration: MinGW
|
|
platform: x64
|
|
|
|
# Abuse this section so we can have a matrix with different Compiler versions
|
|
configuration:
|
|
- 2015
|
|
- MinGW
|
|
|
|
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:
|
|
# Make compiler command line tools available
|
|
- call .appveyor\set_compiler_env.bat
|
|
# Setup Lua development/build environment
|
|
- call .appveyor\install.bat
|
|
|
|
before_build:
|
|
# @todo
|
|
- echo "Installing external deps"
|
|
|
|
build_script:
|
|
- luarocks make rockspecs/luafilesystem-cvs-3.rockspec
|
|
|
|
before_test:
|
|
|
|
test_script:
|
|
- echo "Testing..."
|
|
- cd %APPVEYOR_BUILD_FOLDER%\tests
|
|
- lua test.lua
|
|
|
|
after_test:
|
|
# @todo
|