Skip to content

Commit

Permalink
fix(ci): fix cpu release (testing part)
Browse files Browse the repository at this point in the history
  • Loading branch information
youben11 committed Nov 14, 2024
1 parent 8f3c086 commit 7317a50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/concrete_python_release_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,9 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ["aws-mac1-metal", "aws-mac2-metal"]
runs-on: ${{ matrix.runs-on }}
defaults:
run:
shell: zsh

Check failure on line 389 in .github/workflows/concrete_python_release_cpu.yml

View workflow job for this annotation

GitHub Actions / action-lint

shell name "zsh" is invalid. available names are "bash", "cmd", "powershell", "pwsh", "python", "sh"
steps:
- name: Download wheels
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
Expand Down Expand Up @@ -416,7 +419,7 @@ jobs:
# MacOS x86 have conflict between our OpenMP library, and one from torch
# we fix it by using a single one (from torch)
# see discussion: https://discuss.python.org/t/conflicting-binary-extensions-in-different-packages/25332/8
SITE_PACKAGES=$(pwd)/.testenv/lib/$PYTHON_VERSION/site-packages/
SITE_PACKAGES=$(pwd)/.testenv/lib/$PYTHON/site-packages/
find . "${SITE_PACKAGES}" \( -not \( -path "${SITE_PACKAGES}"/concrete -prune \) -name 'lib*omp5.dylib' -or -name 'lib*omp.dylib' \) -exec -n 1 ln -f -s "${SITE_PACKAGES}"/concrete/.dylibs/libomp.dylib {} \;
# Copy test files
Expand Down
1 change: 1 addition & 0 deletions ci/slab.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ security_group= ["sg-02dd8470fa845f31b", ]
region = "eu-west-1"
image_id = "ami-002bdcd64b8472cf9"
instance_type = "hpc7a.96xlarge"
user = "ubuntu"

0 comments on commit 7317a50

Please sign in to comment.