Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appveyor: hererocks #46

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
217 changes: 0 additions & 217 deletions .appveyor/install.bat

This file was deleted.

46 changes: 15 additions & 31 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,31 @@
version: 0.0.1.{build}-test

shallow_clone: true

os:
- Windows Server 2012 R2

shallow_clone: true

environment:
LUAROCKS_VER: 2.2.2
LuaRocks: 2.3.0
matrix:
- LUA_VER: 5.1.5
- LUA_VER: 5.2.4
- LUA_VER: 5.2.4
NOCOMPAT: true
- LUA_VER: 5.3.0
- LUA_VER: 5.3.0
NOCOMPAT: true
- LJ_VER: 2.0.3
- LJ_VER: 2.1
- Lua: lua 5.3.1
- Lua: luajit 2.0

platform:
- x86
- x64

# this is how to allow failing jobs in the matrix
matrix:
# LuaJIT crashes on C++ exception on x86
allow_failures:
- platform: x86
LJ_VER: 2.0.3
- platform: x86
LJ_VER: 2.1
configuration:
- mingw
- vs_32
- vs_64

cache:
#- c:\lua -> appveyor.yml
- c:\external -> appveyor.yml
- c:\blast -> appveyor.yml

init:
# Setup Lua development/build environment
# Make VS 2013 command line tools available
- call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" %platform%

install:
# Setup Lua development/build environment
- call .appveyor\install.bat
- PATH %CD%\here\bin;C:\mingw\bin;%PATH%
- python -m pip install hererocks
- python -m hererocks here --%Lua% --luarocks=%LuaRocks% --verbose --target=%Configuration% --no-git-cache
# Downloand and install blast to c:\blast
- call .appveyor\install_blast.bat
- luarocks install "https://gist.githubusercontent.com/starius/719b194bb34ce612458c/raw/7ab5aa457164c5dccef2c06e0e06ffbed09319df/mediator_lua-1.1.1-0.rockspec"
Expand All @@ -56,7 +38,9 @@ install:
- luarocks install tree

build_script:
- luarocks make BOOST_INCDIR=c:\Libraries\boost "CFLAGS=/nologo /MD /O2 /EHa"
- set lua_npge_cflags="/nologo /MD /O2 /EHa"
- if "%Configuration%" EQU "mingw" ( set lua_npge_cflags="-O2" )
- luarocks make BOOST_INCDIR=c:\Libraries\boost CFLAGS=%lua_npge_cflags%

test_script:
- cd %APPVEYOR_BUILD_FOLDER%
Expand Down