travis: Switch unix stackless build to use clang.

To test a different compiler, other than gcc.
This commit is contained in:
Damien George 2019-07-08 17:18:47 +10:00
parent baea43bba7
commit a67d9155e6
1 changed files with 6 additions and 5 deletions

View File

@ -106,13 +106,14 @@ jobs:
# unix stackless # unix stackless
- stage: test - stage: test
env: NAME="unix stackless port build and tests" env: NAME="unix stackless port build and tests with clang"
install:
- sudo apt-get install clang
script: script:
- git submodule update --init lib/axtls lib/berkeley-db-1.xx lib/libffi - git submodule update --init lib/axtls lib/berkeley-db-1.xx lib/libffi
- make ${MAKEOPTS} -C mpy-cross - make ${MAKEOPTS} -C mpy-cross CC=clang
- make ${MAKEOPTS} -C ports/unix deplibs - make ${MAKEOPTS} -C ports/unix CC=clang CFLAGS_EXTRA="-DMICROPY_STACKLESS=1 -DMICROPY_STACKLESS_STRICT=1"
- make ${MAKEOPTS} -C ports/unix CFLAGS_EXTRA="-DMICROPY_STACKLESS=1 -DMICROPY_STACKLESS_STRICT=1" - make ${MAKEOPTS} -C ports/unix CC=clang test
- make ${MAKEOPTS} -C ports/unix test
# windows port via mingw # windows port via mingw
- stage: test - stage: test