mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 02:01:33 +01:00 
			
		
		
		
	also use cache in install test
This commit is contained in:
		
							parent
							
								
									db49d07ca1
								
							
						
					
					
						commit
						bc87a4d311
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		
							
								
								
									
										4
									
								
								.github/workflows/install.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/install.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -24,8 +24,10 @@ 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 -H. -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 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue