Add ESP32 builds to CI, use new toolchains.
This commit is contained in:
parent
79671aa526
commit
6abc1c32f3
|
@ -4,3 +4,6 @@
|
|||
[submodule "esp32-rtos-sdk"]
|
||||
path = sdk/esp32-rtos-sdk
|
||||
url = https://github.com/espressif/ESP32_RTOS_SDK.git
|
||||
[submodule "toolchains"]
|
||||
path = tools/toolchains
|
||||
url = https://github.com/jmattsson/nodemcu-prebuilt-toolchains.git
|
||||
|
|
10
.travis.yml
10
.travis.yml
|
@ -9,8 +9,7 @@ cache:
|
|||
directories:
|
||||
- cache
|
||||
install:
|
||||
- tar -zxvf tools/esp-open-sdk.tar.gz
|
||||
- export PATH=$PATH:$PWD/esp-open-sdk/xtensa-lx106-elf/bin
|
||||
- export PATH=$PWD/tools/toolchains/esp8266/bin:$PWD/tools/toolchains/esp32/bin:$PATH
|
||||
script:
|
||||
- export BUILD_DATE=$(date +%Y%m%d)
|
||||
- make EXTRA_CCFLAGS="-DBUILD_DATE='\"'$BUILD_DATE'\"'" all
|
||||
|
@ -23,5 +22,12 @@ script:
|
|||
- cd bin/esp8266
|
||||
- file_name_integer="nodemcu_integer_${TRAVIS_TAG}.bin"
|
||||
- srec_cat -output ${file_name_integer} -binary 0x00000.bin -binary -fill 0xff 0x00000 0x10000 0x10000.bin -binary -offset 0x10000
|
||||
- cd ../..
|
||||
- make clean
|
||||
- make HW=ESP32 EXTRA_CCFLAGS="-DBUILD_DATE='\"'$BUILD_DATE'\"'" all
|
||||
- mv bin/esp32 bin/esp32-float
|
||||
- make clean
|
||||
- make HW=ESP32 EXTRA_CCFLAGS="-DLUA_NUMBER_INTEGRAL -DBUILD_DATE='\"'$BUILD_DATE'\"'"
|
||||
- mv bin/esp32 bin/esp32-integer
|
||||
# http://docs.travis-ci.com/user/environment-variables/#Convenience-Variables
|
||||
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash "$TRAVIS_BUILD_DIR"/tools/pr-build.sh; fi
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
Subproject commit c43f68cf04b7881d755feb5377613d93c0d5766b
|
Loading…
Reference in New Issue