mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Simplify Windows CI jobs
This commit is contained in:
		
							
								
								
									
										15
									
								
								.github/workflows/windows-simple-builds.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								.github/workflows/windows-simple-builds.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,4 +1,4 @@ | ||||
| name: Windows builds (basic) | ||||
| name: Windows Builds (Basic) | ||||
|  | ||||
| on: [push, pull_request] | ||||
|  | ||||
| @@ -17,20 +17,15 @@ jobs: | ||||
|       - uses: actions/checkout@v4 | ||||
|  | ||||
|       - name: Configure build | ||||
|         working-directory: ${{runner.workspace}} | ||||
|         run: | | ||||
|           cmake -S $Env:GITHUB_WORKSPACE               ` | ||||
|                 -B ${{runner.workspace}}/build         ` | ||||
|                 -DCMAKE_CXX_STANDARD=${{matrix.std}}   ` | ||||
|                 -A ${{matrix.platform}}                ` | ||||
|                 --preset all-tests | ||||
|           cmake --preset all-tests ` | ||||
|                 -A ${{matrix.platform}} ` | ||||
|                 -DCMAKE_CXX_STANDARD=${{matrix.std}} ` | ||||
|  | ||||
|       - name: Build tests | ||||
|         working-directory: ${{runner.workspace}} | ||||
|         run: cmake --build build --config ${{matrix.build_type}} --parallel %NUMBER_OF_PROCESSORS% | ||||
|         shell: cmd | ||||
|  | ||||
|       - name: Run tests | ||||
|         working-directory: ${{runner.workspace}}/build | ||||
|         run: ctest -C ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS% --output-on-failure | ||||
|         run: ctest --test-dir build -C ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS% --output-on-failure | ||||
|         shell: cmd | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Chris Thrasher
					Chris Thrasher