From 1d52bee1aaf5d9af545b8bba4eeba4bb74a3ea17 Mon Sep 17 00:00:00 2001 From: youben11 Date: Thu, 15 Sep 2022 10:50:56 +0100 Subject: [PATCH] ci: use ccache for Mac release --- .github/workflows/continuous-integration.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index ba51eb355..6c1002a4d 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -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: |