mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 08:42:40 +01:00 
			
		
		
		
	Added thread-safe build+size reporting to CI
This commit is contained in:
		
							
								
								
									
										16
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								.travis.yml
									
									
									
									
									
								
							| @@ -208,6 +208,22 @@ jobs: | |||||||
|     script: |     script: | ||||||
|       - make test TFLAGS+="-k --valgrind" |       - 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 |   # self-host with littlefs-fuse for fuzz test | ||||||
|   - stage: test |   - stage: test | ||||||
|     env: |     env: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user