Merge pull request #396 from dpaulat/feature/cache-conan-artifacts

Add cache for conan artifacts
This commit is contained in:
Dan Paulat 2025-03-16 22:06:53 -05:00 committed by GitHub
commit 83f5fa92e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 6 deletions

View file

@ -130,13 +130,18 @@ jobs:
shell: pwsh
run: |
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
shell: pwsh
run: |
pip install conan
conan profile detect -e
conan config install `
./source/tools/conan/profiles/${{ matrix.conan_profile }} `
-tf profiles

View file

@ -68,14 +68,19 @@ jobs:
shell: pwsh
run: |
pip install geopandas `
GitPython
GitPython `
conan
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
shell: pwsh
run: |
pip install conan
conan profile detect -e
conan config install `
./source/tools/conan/profiles/${{ matrix.conan_profile }} `
-tf profiles