ci: use conan cache in other windows builds

This commit is contained in:
Luis Diaz
2022-02-10 09:37:39 +01:00
parent fa9c9bd4cc
commit b9677f64d7
3 changed files with 8 additions and 9 deletions
@@ -53,8 +53,6 @@ jobs:
conan profile update settings.compiler="Visual Studio" default
conan profile update settings.compiler.version=17 default
conan config set storage.path=$Env:GITHUB_WORKSPACE/conanCache
conan config get storage.path
tree /f ./conanCache
- name: Conan Arch conditional config
if: ${{matrix.platform == 'x86'}}
@@ -68,8 +66,6 @@ jobs:
cd build
conan profile list
conan install .. --build missing
dir ..
tree /f ../conanCache
- name: Build
run: |
+8 -1
View File
@@ -27,7 +27,13 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.9
python-version: 3.7
- name: Restore conan cache
uses: actions/cache@v2
with:
path: ${{github.workspace}}/conanCache
key: ${{runner.os}}-push-win-${{ hashFiles('conanfile.py') }}
- name: Install Conan & Common config
run: |
@@ -36,6 +42,7 @@ jobs:
conan profile show default
conan profile update settings.compiler="Visual Studio" default
conan profile update settings.compiler.version=17 default
conan config set storage.path=$Env:GITHUB_WORKSPACE/conanCache
- name: Run Conan
run: |
-4
View File
@@ -120,8 +120,6 @@ jobs:
conan profile update settings.compiler="Visual Studio" default
conan profile update settings.compiler.version=17 default
conan config set storage.path=$Env:GITHUB_WORKSPACE/conanCache
conan config get storage.path
tree /f ./conanCache
- name: Run Conan
run: |
@@ -129,8 +127,6 @@ jobs:
cd build
conan profile list
conan install .. --build missing
dir ..
tree /f ../conanCache
- name: Build packaged release
run: |