mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Run tests on all cores in GHA jobs
This commit is contained in:
		
							
								
								
									
										1
									
								
								.github/workflows/linux-meson-builds.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/linux-meson-builds.yml
									
									
									
									
										vendored
									
									
								
							| @@ -40,6 +40,5 @@ jobs: | ||||
|  | ||||
|     - name: Run tests | ||||
|       working-directory: ${{runner.workspace}}/meson-build | ||||
|       # Hardcode 2 cores we know are there | ||||
|       run: | | ||||
|         meson test --verbose | ||||
|   | ||||
							
								
								
									
										3
									
								
								.github/workflows/linux-other-builds.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/linux-other-builds.yml
									
									
									
									
										vendored
									
									
								
							| @@ -102,5 +102,4 @@ jobs: | ||||
|       env: | ||||
|           CTEST_OUTPUT_ON_FAILURE: 1 | ||||
|       working-directory: ${{runner.workspace}}/build | ||||
|       # Hardcode 2 cores we know are there | ||||
|       run: ctest -C ${{matrix.build_type}} -j 2 ${{matrix.other_ctest_args}} | ||||
|       run: ctest -C ${{matrix.build_type}} -j `nproc` ${{matrix.other_ctest_args}} | ||||
|   | ||||
							
								
								
									
										3
									
								
								.github/workflows/linux-simple-builds.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/linux-simple-builds.yml
									
									
									
									
										vendored
									
									
								
							| @@ -120,5 +120,4 @@ jobs: | ||||
|       env: | ||||
|           CTEST_OUTPUT_ON_FAILURE: 1 | ||||
|       working-directory: ${{runner.workspace}}/build | ||||
|       # Hardcode 2 cores we know are there | ||||
|       run: ctest -C ${{matrix.build_type}} -j 2 | ||||
|       run: ctest -C ${{matrix.build_type}} -j `nproc` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský