Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
BourgerieQuentin committed Oct 8, 2024
1 parent e8c208f commit d8428d8
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions .github/workflows/concrete_python_tests_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,13 @@ jobs:
username: ${{ secrets.GHCR_LOGIN }}
password: ${{ secrets.GHCR_PASSWORD }}
options: >-
-v ${{ github.workspace }}:/concrete
-v ${{ github.workspace }}/build:/build
-v ${{ github.workspace }}:/workdir
-v ${{ github.workspace }}/artifacts:/artifacts
shell: bash
run: |
set -e
rustup toolchain install nightly-2024-09-30
dnf -y install graphviz graphviz-devel
ls /build
rm -rf /build/*
cd /concrete/frontends/concrete-python
make venv
source .venv/bin/activate
cd /concrete/compilers/concrete-compiler/compiler
cd /workdir/compilers/concrete-compiler/compiler
make BUILD_DIR=/build DATAFLOW_EXECUTION_ENABLED=ON CCACHE=ON Python3_EXECUTABLE=$(which python3) python-bindings
echo "Debug: ccache statistics (after the build):"
Expand All @@ -84,14 +75,14 @@ jobs:
username: ${{ secrets.GHCR_LOGIN }}
password: ${{ secrets.GHCR_PASSWORD }}
options: >-
-v ${{ github.workspace }}:/concrete
-v ${{ github.workspace }}/build:/build
-v ${{ github.workspace }}:/workdir
-v ${{ github.workspace }}/artifacts:/artifacts
shell: bash
run: |
set -e
dnf -y install graphviz graphviz-devel
cd /concrete/frontends/concrete-python
cd /workdir/frontends/concrete-python
make venv
- name: Test
uses: addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185 # v3
Expand All @@ -102,15 +93,15 @@ jobs:
username: ${{ secrets.GHCR_LOGIN }}
password: ${{ secrets.GHCR_PASSWORD }}
options: >-
-v ${{ github.workspace }}:/concrete
-v ${{ github.workspace }}/build:/build
-v ${{ github.workspace }}:/workdir
-v ${{ github.workspace }}/artifacts:/artifacts
shell: bash
run: |
set -e
cd /concrete/frontends/concrete-python
cd /workdir/frontends/concrete-python
source .venv/bin/activate
export COMPILER_BUILD_DIRECTORY=/build
mkdir ./KeySetCache
KEY_CACHE_DIRECTORY=./KeySetCache make pytest
Expand Down

0 comments on commit d8428d8

Please sign in to comment.