Add lua.cross to CI tests. (#1649)

This commit is contained in:
Jonathan Karras 2016-12-05 23:28:43 -07:00 committed by Marcel Stör
parent 384cfbec80
commit 063cb6e7f2
1 changed files with 9 additions and 1 deletions

View File

@ -5,13 +5,21 @@ addons:
packages:
- python-serial
- srecord
- lua5.1
cache:
directories:
- pip
- directories:
- cache
before_install:
- pip install --user hererocks
- hererocks env --lua 5.1 -rlatest
- source env/bin/activate
- luarocks install luafilesystem
install:
- tar -zxvf tools/esp-open-sdk.tar.gz
- export PATH=$PATH:$PWD/esp-open-sdk/xtensa-lx106-elf/bin
script:
- lua tools/cross-lua.lua || exit 1
- export BUILD_DATE=$(date +%Y%m%d)
- make EXTRA_CCFLAGS="-DBUILD_DATE='\"'$BUILD_DATE'\"'" all
- cd bin/