From 40abd5f19e9456bca07f0e9382647a411ca7d495 Mon Sep 17 00:00:00 2001 From: Erich Schubert Date: Sun, 10 Dec 2023 21:54:08 +0100 Subject: [PATCH] try to fix OSX builds for pypi --- .github/workflows/wheels.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 4a3c744..b38c116 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -65,8 +65,7 @@ jobs: run: | rustup target add aarch64-apple-darwin python3 -m pip install -r requirements.txt -r requirements-dev.txt - maturin build --release --strip - maturin build --release --strip --universal2 + maturin build --release --strip --target universal2-apple-darwin python3 -m pip install kmedoids --no-index --find-links target/wheels cd tests && python3 -m unittest discover && cd .. - uses: actions/upload-artifact@v3