mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 02:01:33 +01:00 
			
		
		
		
	merge envs
This commit is contained in:
		
							parent
							
								
									bc87a4d311
								
							
						
					
					
						commit
						0f073a9065
					
				
					 7 changed files with 13 additions and 16 deletions
				
			
		
							
								
								
									
										5
									
								
								.github/workflows/documentation.yaml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/documentation.yaml
									
										
									
									
										vendored
									
									
								
							|  | @ -5,6 +5,9 @@ on: | ||||||
|     tags: |     tags: | ||||||
|       - "*" |       - "*" | ||||||
| 
 | 
 | ||||||
|  | env: | ||||||
|  |   CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules | ||||||
|  | 
 | ||||||
| jobs: | jobs: | ||||||
|   build: |   build: | ||||||
|     name: Build and publish documentation |     name: Build and publish documentation | ||||||
|  | @ -23,8 +26,6 @@ jobs: | ||||||
|           pip3 install jinja2 Pygments |           pip3 install jinja2 Pygments | ||||||
| 
 | 
 | ||||||
|       - name: Build |       - name: Build | ||||||
|         env: |  | ||||||
|           CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules |  | ||||||
|         run: | |         run: | | ||||||
|           cmake -Sdocumentation -Bbuild |           cmake -Sdocumentation -Bbuild | ||||||
|           cmake --build build --target GenerateDocs |           cmake --build build --target GenerateDocs | ||||||
|  |  | ||||||
							
								
								
									
										5
									
								
								.github/workflows/install.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/install.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -10,6 +10,7 @@ on: | ||||||
| 
 | 
 | ||||||
| env: | env: | ||||||
|   CTEST_OUTPUT_ON_FAILURE: 1 |   CTEST_OUTPUT_ON_FAILURE: 1 | ||||||
|  |   CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|   build: |   build: | ||||||
|  | @ -24,16 +25,12 @@ jobs: | ||||||
|           key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} |           key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} | ||||||
| 
 | 
 | ||||||
|       - name: build and install library |       - name: build and install library | ||||||
|         env: |  | ||||||
|           CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules |  | ||||||
|         run: | |         run: | | ||||||
|           cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release |           cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release | ||||||
|           sudo cmake --build build --target install |           sudo cmake --build build --target install | ||||||
|           rm -rf build |           rm -rf build | ||||||
| 
 | 
 | ||||||
|       - name: configure |       - name: configure | ||||||
|         env: |  | ||||||
|           CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules |  | ||||||
|         run: cmake -Stest -Bbuild -DTEST_INSTALLED_VERSION=1 |         run: cmake -Stest -Bbuild -DTEST_INSTALLED_VERSION=1 | ||||||
| 
 | 
 | ||||||
|       - name: build |       - name: build | ||||||
|  |  | ||||||
							
								
								
									
										3
									
								
								.github/workflows/macos.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/macos.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -10,6 +10,7 @@ on: | ||||||
| 
 | 
 | ||||||
| env: | env: | ||||||
|   CTEST_OUTPUT_ON_FAILURE: 1 |   CTEST_OUTPUT_ON_FAILURE: 1 | ||||||
|  |   CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|   build: |   build: | ||||||
|  | @ -24,8 +25,6 @@ jobs: | ||||||
|           key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} |           key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} | ||||||
| 
 | 
 | ||||||
|       - name: configure |       - name: configure | ||||||
|         env: |  | ||||||
|           CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules |  | ||||||
|         run: cmake -Stest -Bbuild -DCMAKE_BUILD_TYPE=Debug |         run: cmake -Stest -Bbuild -DCMAKE_BUILD_TYPE=Debug | ||||||
| 
 | 
 | ||||||
|       - name: build |       - name: build | ||||||
|  |  | ||||||
							
								
								
									
										5
									
								
								.github/workflows/standalone.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/standalone.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -8,6 +8,9 @@ on: | ||||||
|     branches: |     branches: | ||||||
|       - master |       - master | ||||||
| 
 | 
 | ||||||
|  | env: | ||||||
|  |   CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules | ||||||
|  | 
 | ||||||
| jobs: | jobs: | ||||||
|   build: |   build: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|  | @ -21,8 +24,6 @@ jobs: | ||||||
|           key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} |           key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} | ||||||
| 
 | 
 | ||||||
|       - name: configure |       - name: configure | ||||||
|         env: |  | ||||||
|           CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules |  | ||||||
|         run: cmake -Sstandalone -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=Debug |         run: cmake -Sstandalone -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=Debug | ||||||
| 
 | 
 | ||||||
|       - name: build |       - name: build | ||||||
|  |  | ||||||
							
								
								
									
										5
									
								
								.github/workflows/style.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/style.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -8,6 +8,9 @@ on: | ||||||
|     branches: |     branches: | ||||||
|       - master |       - master | ||||||
| 
 | 
 | ||||||
|  | env: | ||||||
|  |   CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules | ||||||
|  | 
 | ||||||
| jobs: | jobs: | ||||||
|   build: |   build: | ||||||
|     runs-on: macos-latest |     runs-on: macos-latest | ||||||
|  | @ -26,8 +29,6 @@ jobs: | ||||||
|           pip3 install cmake_format==0.6.11 pyyaml |           pip3 install cmake_format==0.6.11 pyyaml | ||||||
| 
 | 
 | ||||||
|       - name: configure |       - name: configure | ||||||
|         env: |  | ||||||
|           CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules |  | ||||||
|         run: cmake -Stest -Bbuild |         run: cmake -Stest -Bbuild | ||||||
| 
 | 
 | ||||||
|       - name: check style |       - name: check style | ||||||
|  |  | ||||||
							
								
								
									
										3
									
								
								.github/workflows/ubuntu.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/ubuntu.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -11,6 +11,7 @@ on: | ||||||
| env: | env: | ||||||
|   CTEST_OUTPUT_ON_FAILURE: 1 |   CTEST_OUTPUT_ON_FAILURE: 1 | ||||||
|   CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |   CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||||||
|  |   CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|   build: |   build: | ||||||
|  | @ -25,8 +26,6 @@ jobs: | ||||||
|           key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} |           key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} | ||||||
| 
 | 
 | ||||||
|       - name: configure |       - name: configure | ||||||
|         env: |  | ||||||
|           CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules |  | ||||||
|         run: cmake -Stest -Bbuild -DENABLE_TEST_COVERAGE=1 -DCMAKE_BUILD_TYPE=Debug |         run: cmake -Stest -Bbuild -DENABLE_TEST_COVERAGE=1 -DCMAKE_BUILD_TYPE=Debug | ||||||
| 
 | 
 | ||||||
|       - name: build |       - name: build | ||||||
|  |  | ||||||
							
								
								
									
										3
									
								
								.github/workflows/windows.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/windows.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -10,6 +10,7 @@ on: | ||||||
| 
 | 
 | ||||||
| env: | env: | ||||||
|   CTEST_OUTPUT_ON_FAILURE: 1 |   CTEST_OUTPUT_ON_FAILURE: 1 | ||||||
|  |   CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|   build: |   build: | ||||||
|  | @ -24,8 +25,6 @@ jobs: | ||||||
|           key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} |           key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} | ||||||
| 
 | 
 | ||||||
|       - name: configure |       - name: configure | ||||||
|         env: |  | ||||||
|           CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules |  | ||||||
|         run: cmake -Stest -Bbuild |         run: cmake -Stest -Bbuild | ||||||
| 
 | 
 | ||||||
|       - name: build |       - name: build | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue