mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	CI: Sanitize for undefined behavior.
This commit is contained in:
		
							parent
							
								
									92afe26d6b
								
							
						
					
					
						commit
						f5c53a99e7
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								.github/workflows/test-build.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/test-build.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -56,6 +56,7 @@ jobs: | |||
|           mkdir build | ||||
|           cd build | ||||
|           make -f ../Makefile config-$CC | ||||
|           echo 'SANITIZER = undefined' >> Makefile.conf | ||||
|           make -f ../Makefile -j$procs ENABLE_LTO=1 | ||||
| 
 | ||||
|       - name: Log yosys-config output | ||||
|  | @ -82,6 +83,7 @@ jobs: | |||
|     if: needs.pre_job.outputs.should_skip != 'true' | ||||
|     env: | ||||
|       CC: clang | ||||
|       UBSAN_OPTIONS: halt_on_error=1 | ||||
|     strategy: | ||||
|       matrix: | ||||
|         os: [ubuntu-latest, macos-latest] | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue