mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 10:50:04 +00:00 
			
		
		
		
	Merge pull request #396 from dpaulat/feature/cache-conan-artifacts
Add cache for conan artifacts
This commit is contained in:
		
						commit
						83f5fa92e0
					
				
					 2 changed files with 16 additions and 6 deletions
				
			
		
							
								
								
									
										11
									
								
								.github/workflows/ci.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/ci.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -130,13 +130,18 @@ jobs: | ||||||
|       shell: pwsh |       shell: pwsh | ||||||
|       run: | |       run: | | ||||||
|         pip install geopandas ` |         pip install geopandas ` | ||||||
|                     GitPython |                     GitPython ` | ||||||
|  |                     conan | ||||||
|  | 
 | ||||||
|  |     - name: Cache Conan Packages | ||||||
|  |       uses: actions/cache@v4 | ||||||
|  |       with: | ||||||
|  |         path: ~/.conan2 | ||||||
|  |         key: build-${{ matrix.conan_profile }}-${{ hashFiles('./source/conanfile.py', './source/tools/conan/profiles/*') }} | ||||||
| 
 | 
 | ||||||
|     - name: Install Conan Packages |     - name: Install Conan Packages | ||||||
|       shell: pwsh |       shell: pwsh | ||||||
|       run: | |       run: | | ||||||
|         pip install conan |  | ||||||
|         conan profile detect -e |  | ||||||
|         conan config install ` |         conan config install ` | ||||||
|           ./source/tools/conan/profiles/${{ matrix.conan_profile }} ` |           ./source/tools/conan/profiles/${{ matrix.conan_profile }} ` | ||||||
|           -tf profiles |           -tf profiles | ||||||
|  |  | ||||||
							
								
								
									
										11
									
								
								.github/workflows/clang-tidy-review.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/clang-tidy-review.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -68,14 +68,19 @@ jobs: | ||||||
|       shell: pwsh |       shell: pwsh | ||||||
|       run: | |       run: | | ||||||
|         pip install geopandas ` |         pip install geopandas ` | ||||||
|                     GitPython |                     GitPython ` | ||||||
|  |                     conan | ||||||
|         pip install --break-system-packages clang-tidy-review/post/clang_tidy_review |         pip install --break-system-packages clang-tidy-review/post/clang_tidy_review | ||||||
| 
 | 
 | ||||||
|  |     - name: Cache Conan Packages | ||||||
|  |       uses: actions/cache@v4 | ||||||
|  |       with: | ||||||
|  |         path: ~/.conan2 | ||||||
|  |         key: build-${{ matrix.conan_profile }}-${{ hashFiles('./source/conanfile.py', './source/tools/conan/profiles/*') }} | ||||||
|  | 
 | ||||||
|     - name: Install Conan Packages |     - name: Install Conan Packages | ||||||
|       shell: pwsh |       shell: pwsh | ||||||
|       run: | |       run: | | ||||||
|         pip install conan |  | ||||||
|         conan profile detect -e |  | ||||||
|         conan config install ` |         conan config install ` | ||||||
|           ./source/tools/conan/profiles/${{ matrix.conan_profile }} ` |           ./source/tools/conan/profiles/${{ matrix.conan_profile }} ` | ||||||
|           -tf profiles |           -tf profiles | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat