mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
feat(ci): pass the version of the released wheel to the test workflow
This commit is contained in:
committed by
Ayoub Benaissa
parent
26c3ecc5f7
commit
953c9b60b6
@@ -126,6 +126,8 @@ jobs:
|
||||
push:
|
||||
needs: [build-linux-x86]
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
wheel_version: ${{ steps.version.outputs.wheel_version }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
@@ -155,10 +157,17 @@ jobs:
|
||||
# update indexes and invalidate cloudfront cache
|
||||
python .github/workflows/scripts/s3_update_html_indexes.py
|
||||
|
||||
- name: Output Wheel Version
|
||||
id: version
|
||||
run: |
|
||||
export VERSION=`ls ./wheels/*manylinux* | head -n1 | cut -d "-" -f2`
|
||||
echo "VERSION=$VERSION"
|
||||
echo "wheel_version=$VERSION" >> "$GITHUB_OUTPUT"
|
||||
|
||||
test-gpu-wheel:
|
||||
needs: [push]
|
||||
uses: ./.github/workflows/start_slab.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
command: concrete-python-test-gpu-wheel
|
||||
user_inputs: "TODO"
|
||||
user_inputs: "${{ needs.push.outputs.wheel_version }}"
|
||||
|
||||
@@ -39,9 +39,8 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
# TODO: specify CP version
|
||||
- name: Install CP
|
||||
run: pip install --pre --extra-index-url https://pypi.zama.ai/gpu/ concrete-python
|
||||
run: pip install --pre --extra-index-url https://pypi.zama.ai/gpu/ "concrete-python==${{ env.CP_VERSION }}"
|
||||
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
Reference in New Issue
Block a user