mirror of
https://github.com/zama-ai/concrete.git
synced 2026-05-09 03:00:34 -04:00
ci: cache concretelib build output
caching concretelib build will reduce the overall testing time for MacOS which currently takes ~15mn only to build concretelib
This commit is contained in:
10
.github/workflows/continuous-integration.yml
vendored
10
.github/workflows/continuous-integration.yml
vendored
@@ -139,6 +139,16 @@ jobs:
|
||||
path: concrete
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
- name: Get ConcreteLib commit hash
|
||||
id: concretelib-hash
|
||||
run: cd ${{ github.workspace }}/concrete && echo "::set-output name=COMMIT_SHA::`git rev-parse HEAD`"
|
||||
|
||||
- name: Cache ConcreteLib
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ github.workspace }}/concrete/target
|
||||
key: concrete-compiler-concrete-lib-${{ steps.concretelib-hash.outputs.COMMIT_SHA }}
|
||||
|
||||
- name: Install Deps
|
||||
run: |
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
|
||||
Reference in New Issue
Block a user