mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
use caching of conan data
Contributes to CURA-8415
This commit is contained in:
parent
ce5fb3d403
commit
8501c7113a
1 changed files with 11 additions and 0 deletions
11
.github/workflows/macos.yml
vendored
11
.github/workflows/macos.yml
vendored
|
@ -106,6 +106,14 @@ jobs:
|
||||||
- name: Install Python requirements for runner
|
- name: Install Python requirements for runner
|
||||||
run: pip install -r .github/workflows/requirements-conan-package.txt
|
run: pip install -r .github/workflows/requirements-conan-package.txt
|
||||||
|
|
||||||
|
- name: Cache Conan local repository packages (Bash)
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
$HOME/.conan/data
|
||||||
|
$HOME/.conan/conan_download_cache
|
||||||
|
key: conan-${{ runner.os }}-${{ runner.arch }}-installer-cache
|
||||||
|
|
||||||
- name: Install MacOS system requirements
|
- name: Install MacOS system requirements
|
||||||
run: brew install cmake autoconf automake ninja create-dmg
|
run: brew install cmake autoconf automake ninja create-dmg
|
||||||
|
|
||||||
|
@ -135,6 +143,9 @@ jobs:
|
||||||
- name: Get Conan configuration
|
- name: Get Conan configuration
|
||||||
run: conan config install https://github.com/Ultimaker/conan-config.git
|
run: conan config install https://github.com/Ultimaker/conan-config.git
|
||||||
|
|
||||||
|
- name: Use Conan download cache (Bash)
|
||||||
|
run: conan config set storage.download_cache="$HOME/.conan/conan_download_cache"
|
||||||
|
|
||||||
- name: Set architecture conan profile
|
- name: Set architecture conan profile
|
||||||
if: ${{ inputs.architecture == 'X64' }}
|
if: ${{ inputs.architecture == 'X64' }}
|
||||||
run: conan profile update settings.arch=x86_64 default
|
run: conan profile update settings.arch=x86_64 default
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue