mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			lgtm: Add initial LGTM configuration file
Add a starter LGTM configuration file that tells LGTM what sort of files we have in Mbed OS, what dependencies need installing, how to configure, and how to build. We tell LGTM to build Mbed OS's unit tests for the host toolchain, as a start. We install pip so we can install pypi's version of CMake, which is newer than the current LGTM default version of 3.13.4.pull/14713/head
							parent
							
								
									9135966efe
								
							
						
					
					
						commit
						c867a3d151
					
				| 
						 | 
					@ -0,0 +1,27 @@
 | 
				
			||||||
 | 
					path_classifiers:
 | 
				
			||||||
 | 
					  docs:
 | 
				
			||||||
 | 
					    - docs
 | 
				
			||||||
 | 
					  test:
 | 
				
			||||||
 | 
					    - "**/TESTS"
 | 
				
			||||||
 | 
					    - "**/UNITTESTS"
 | 
				
			||||||
 | 
					  tools:
 | 
				
			||||||
 | 
					    - tools
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					extraction:
 | 
				
			||||||
 | 
					  cpp:
 | 
				
			||||||
 | 
					    prepare:
 | 
				
			||||||
 | 
					      packages:
 | 
				
			||||||
 | 
					        - ninja-build
 | 
				
			||||||
 | 
					        - python-pip
 | 
				
			||||||
 | 
					    after_prepare:
 | 
				
			||||||
 | 
					      - pip install --user cmake
 | 
				
			||||||
 | 
					      - ls ~/.local/bin
 | 
				
			||||||
 | 
					      - export PATH=~/.local/bin:$PATH
 | 
				
			||||||
 | 
					      - cmake --version
 | 
				
			||||||
 | 
					    configure:
 | 
				
			||||||
 | 
					      command:
 | 
				
			||||||
 | 
					        - cmake -S . -B __build -GNinja -DBUILD_TESTING=ON -DCOVERAGE=OFF -DCMAKE_BUILD_TYPE=Debug
 | 
				
			||||||
 | 
					    index:
 | 
				
			||||||
 | 
					      build_command:
 | 
				
			||||||
 | 
					        - cmake --build __build
 | 
				
			||||||
 | 
					        - cmake --build __build --target test
 | 
				
			||||||
		Loading…
	
		Reference in New Issue