From 80494b0bda8683e0509c83fc732ac7b13e165404 Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Sat, 28 Nov 2020 12:41:36 -0600 Subject: [PATCH] Added thread-safe build+size reporting to CI --- .travis.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.travis.yml b/.travis.yml index 78d964a..0d35781 100644 --- a/.travis.yml +++ b/.travis.yml @@ -208,6 +208,22 @@ jobs: script: - make test TFLAGS+="-k --valgrind" + # test compilation in thread-safe mode + - stage: test + env: + - NAME=littlefs-threadsafe + - CC="arm-linux-gnueabi-gcc --static -mthumb" + - CFLAGS="-Werror -DLFS_THREADSAFE" + if: branch !~ -prefix$ + install: + - *install-common + - sudo apt-get install + gcc-arm-linux-gnueabi + libc6-dev-armel-cross + - arm-linux-gnueabi-gcc --version + # report-size will compile littlefs and report the size + script: [*report-size] + # self-host with littlefs-fuse for fuzz test - stage: test env: