Move sanitizer selection to matrix
This commit is contained in:
		
							parent
							
								
									3741e7838c
								
							
						
					
					
						commit
						761f1d977a
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		
							
								
								
									
										10
									
								
								.github/workflows/analysis.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/analysis.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -141,11 +141,13 @@ jobs: | |||
|       matrix: | ||||
|         conf: | ||||
|           - name: Clang | ||||
|             sanitizers: USAN MSAN | ||||
|             usan:  93 | ||||
|             msan:  -1 # unstable; does not work with pre-compiled STL | ||||
|             tsan:  -1 | ||||
|             uasan: -1 | ||||
|           - name: GCC | ||||
|             sanitizers: USAN TSAN UASAN | ||||
|             usan:  44 | ||||
|             msan:  -1 | ||||
|             tsan:  0  # our test does not trigger multiple threads yet | ||||
|  | @ -168,13 +170,11 @@ jobs: | |||
|         env: | ||||
|           VERSION_GCC: 9 | ||||
|           VERSION_Clang: 8 | ||||
|           SANITIZERS_GCC: UASAN USAN TSAN | ||||
|           SANITIZERS_Clang: USAN MSAN | ||||
|         run: | | ||||
|           ./.github/scripts/build-and-run-sanitizers.sh \ | ||||
|           ${{ matrix.conf.name }} \ | ||||
|           $VERSION_${{ matrix.conf.name }} \ | ||||
|           $SANITIZERS_${{ matrix.conf.name }} | ||||
|             ${{ matrix.conf.name }} \ | ||||
|             $VERSION_${{ matrix.conf.name }} \ | ||||
|             ${{ matrix.conf.sanitizers }} | ||||
|       - name: Upload logs | ||||
|         uses: actions/upload-artifact@master | ||||
|         with: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue