mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
ci: download keyset cache before tests if required
This commit is contained in:
committed by
Ayoub Benaissa
parent
3dcd465962
commit
cae23bc15d
13
.github/workflows/continuous-integration.yml
vendored
13
.github/workflows/continuous-integration.yml
vendored
@@ -204,12 +204,6 @@ jobs:
|
||||
id: tmpdir-path
|
||||
run: echo "::set-output name=TMPDIR_PATH::`echo $TMPDIR`"
|
||||
|
||||
- name: Download KeySetCache
|
||||
continue-on-error: true
|
||||
run: |
|
||||
cd compiler
|
||||
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} make keysetcache_ci_populated
|
||||
|
||||
# We do run test-check as part of the build, as they aren't that costly
|
||||
# and will at least give minimum confidence that the compiler works in PRs
|
||||
- name: Build
|
||||
@@ -221,6 +215,13 @@ jobs:
|
||||
make python-bindings build-tests test-check
|
||||
echo "Debug: ccache statistics (after the build):"
|
||||
ccache -s
|
||||
|
||||
- name: Download KeySetCache
|
||||
continue-on-error: true
|
||||
if: github.event_name == 'push'
|
||||
run: |
|
||||
cd compiler
|
||||
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} make keysetcache_ci_populated
|
||||
|
||||
- name: Test
|
||||
if: github.event_name == 'push'
|
||||
|
||||
Reference in New Issue
Block a user