mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
ci: use ccache for Mac release
This commit is contained in:
10
.github/workflows/continuous-integration.yml
vendored
10
.github/workflows/continuous-integration.yml
vendored
@@ -539,7 +539,7 @@ jobs:
|
||||
- name: Install Deps
|
||||
run: |
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
brew install ninja
|
||||
brew install ninja ccache
|
||||
pip install numpy pybind11==2.8 wheel delocate
|
||||
cd ${{ github.workspace }}/concrete/concrete-ffi
|
||||
RUSTFLAGS="-C target-cpu=native" cargo build --release
|
||||
@@ -547,6 +547,14 @@ jobs:
|
||||
- name: Update Python Version
|
||||
run: cd compiler && make update-python-version
|
||||
|
||||
- name: Use Compilation Cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: /Users/runner/Library/Caches/ccache
|
||||
key: ${{ runner.os }}-compilation-cache-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-compilation-cache-
|
||||
|
||||
- name: Build
|
||||
id: build-wheel-macos
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user