mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 16:30:05 +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
|
||||
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
|
||||
|
|
|
|||
11
.github/workflows/clang-tidy-review.yml
vendored
11
.github/workflows/clang-tidy-review.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue