Commit 063cb6e7 authored by Jonathan Karras's avatar Jonathan Karras Committed by Marcel Stör
Browse files

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

parent 384cfbec
...@@ -5,13 +5,21 @@ addons: ...@@ -5,13 +5,21 @@ addons:
packages: packages:
- python-serial - python-serial
- srecord - srecord
- lua5.1
cache: cache:
directories: - pip
- directories:
- cache - cache
before_install:
- pip install --user hererocks
- hererocks env --lua 5.1 -rlatest
- source env/bin/activate
- luarocks install luafilesystem
install: install:
- tar -zxvf tools/esp-open-sdk.tar.gz - tar -zxvf tools/esp-open-sdk.tar.gz
- export PATH=$PATH:$PWD/esp-open-sdk/xtensa-lx106-elf/bin - export PATH=$PATH:$PWD/esp-open-sdk/xtensa-lx106-elf/bin
script: script:
- lua tools/cross-lua.lua || exit 1
- export BUILD_DATE=$(date +%Y%m%d) - export BUILD_DATE=$(date +%Y%m%d)
- make EXTRA_CCFLAGS="-DBUILD_DATE='\"'$BUILD_DATE'\"'" all - make EXTRA_CCFLAGS="-DBUILD_DATE='\"'$BUILD_DATE'\"'" all
- cd bin/ - cd bin/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment