Skip to content

Commit

Permalink
[no ci] actions/cache@v2 restore-keys
Browse files Browse the repository at this point in the history
[no ci] conan-io/conan#8201 conan-io/conan#3311

1929->19.29

protobuf:shared=True compiler.cppstd=14

MT

14cppstd

[no ci] conan profile compiler=msvc
  • Loading branch information
liu-kan committed Nov 24, 2021
1 parent 77e4561 commit b8dc828
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,16 @@ jobs:
continue-on-error: true
if: ${{! github.event.inputs.update_cache}}
env:
cache-name: cache-cuda-installer-${{env.CUDA_VERSION}}
cache-name: cache-conan
with:
path: |
c:/conan_p
c:/conan_s
c:/conan_c
key: ${{ runner.os }}-file-conan
key: ${{ runner.os }}-${{ env.cache-name }}-${{github.sha}}-${{ github.event.inputs.ref_sha}}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-${{github.sha}}-
${{ runner.os }}-${{ env.cache-name }}-
- name: install conan
run: |
Expand All @@ -182,15 +185,15 @@ jobs:
- name: Cache conan packages
if: ${{(! steps.cache_hits_conan.outputs.cache-hit)|| github.event.inputs.update_cache}}
id: conan_save
uses: actions/cache@v2
uses: actions/cache@v2
env:
cache-name: cache-conan
with:
path: |
c:/conan_p
c:/conan_s
c:/conan_c
key: ${{ runner.os }}-file-conan
key: ${{ runner.os }}-${{ env.cache-name }}-${{github.sha}}-${{ github.event.inputs.ref_sha}}

# - name: Find Cache cuda packages
# id: cache_hits
Expand Down
13 changes: 11 additions & 2 deletions conan_release_profile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,18 @@ os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=16
compiler=msvc
compiler.version=19.29
# https://github.com/conan-io/conan/pull/8201
# https://github.com/conan-io/conan/issues/3311
build_type=Release
#compiler=Visual Studio
#compiler.version=16
compiler.cppstd=14
compiler.runtime=static

[options]

[build_requires]

[env]
3 changes: 2 additions & 1 deletion conanfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ boost:without_mpi=True
boost:without_wave=True
boost:without_graph=True
boost:without_graph_parallel=True
boost:without_python=True
boost:without_python=True
#protobuf:shared=True

0 comments on commit b8dc828

Please sign in to comment.