mirror of
				https://github.com/threeal/cmake-action.git
				synced 2025-11-03 21:33:42 +00:00 
			
		
		
		
	disable warning as error on MSVC test
This commit is contained in:
		
							parent
							
								
									6548c2aab5
								
							
						
					
					
						commit
						716f237b51
					
				
							
								
								
									
										4
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							@ -53,8 +53,8 @@ jobs:
 | 
				
			|||||||
        with:
 | 
					        with:
 | 
				
			||||||
          source-dir: test
 | 
					          source-dir: test
 | 
				
			||||||
          targets: test_c test_cpp
 | 
					          targets: test_c test_cpp
 | 
				
			||||||
          c-flags: ${{ matrix.compiler == 'msvc' && '/w' || '-Wno-unused-variable' }}
 | 
					          c-flags: ${{ matrix.compiler == 'msvc' && '/w /WX-' || '-Wno-unused-variable' }}
 | 
				
			||||||
          cxx-flags: ${{ matrix.compiler == 'msvc' && '/w' || '-Wno-unused-variable' }}
 | 
					          cxx-flags: ${{ matrix.compiler == 'msvc' && '/w /WX-' || '-Wno-unused-variable' }}
 | 
				
			||||||
          args: -D CHECK_SURPASS_WARNING=ON
 | 
					          args: -D CHECK_SURPASS_WARNING=ON
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Run the build results
 | 
					      - name: Run the build results
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user