Skip to content

Commit

Permalink
Try windows setup outside of cibw
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Jun 7, 2023
1 parent 321afa6 commit 4f3239b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
11 changes: 0 additions & 11 deletions .github/before-windows.ps1

This file was deleted.

13 changes: 12 additions & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,18 @@ jobs:
run: |
pip install pipx
- name: Install Windows Bladebit Harvester
if: runner.os == 'Windows'
shell: bash
run: |
pip install --extra-index-url https://pypi.chia.net/simple/ bladebit
cp -r $(pip show bladebit | grep Location | awk '{print $2}' )/bladebit/lib libs
cp -r $(pip show bladebit | grep Location | awk '{print $2}' )/bladebit/include src/bladebit
ls
ls libs
ls src/bladebit
- name: Build and test
env:
CIBW_PRERELEASE_PYTHONS: True
Expand All @@ -138,7 +150,6 @@ jobs:
CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.python.manylinux['arm'] }}
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.python.manylinux['intel'] }}
CIBW_ENVIRONMENT_WINDOWS: "CP_USE_GREEN_REAPER=1"
CIBW_BEFORE_BUILD_WINDOWS: .\.github\before-windows.ps1
CIBW_ENVIRONMENT_LINUX: CP_USE_GREEN_REAPER="1" CPATH=/project/site-packages LIBRARY_PATH=/project/libs LD_LIBRARY_PATH=/project/libs
CIBW_BEFORE_BUILD_LINUX: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit 4f3239b

Please sign in to comment.