Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
gagolews committed Aug 22, 2024
1 parent 6503fbd commit 5754d68
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ env:
# TODO: manylinux aarch64
# TODO: macos arm64
CIBW_SKIP: cp2* pp* cp35* cp36* cp37* cp38* cp39* *-win32 *-musllinux* *-macosx_*_universal2* *win_arm64* *-manylinux_arm64 *-manylinux_i686 *-manylinux_ppc64le *-manylinux_s390x *-manylinux_aarch64
CIBW_BEFORE_BUILD: python -m pip install -r requirements.txt --upgrade
CIBW_TEST_SKIP: "*-macosx_arm64"
#CIBW_TEST_SKIP: "*-macosx_arm64"
#CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_ARCHS: all

Expand All @@ -28,8 +27,18 @@ jobs:

- uses: actions/setup-python@v5

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.20.0
- name: Setup venv
run: |
cd ../../
python -m venv build_env
source build_env/bin/activate
python -m pip install numpy scipy cython --upgrade
python -m pip install twine build --upgrade
python -m pip install cibuildwheel==2.20.0
cd genieclust/genieclust
- name: Install requirements
run: python -m pip install -r requirements.txt --upgrade

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Cython
numpy
scipy
Cython
matplotlib
scikit-learn

0 comments on commit 5754d68

Please sign in to comment.