Skip to content

Commit

Permalink
Try to use rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanIsCoding committed Oct 4, 2023
1 parent a123098 commit eddd577
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
run: |
python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BEFORE_ALL_LINUX: "apk -X http://dl-cdn.alpinelinux.org/alpine/edge/main upgrade && apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/main rust cargo openssl-dev ca-certificates py3-setuptools"
CIBW_ENVIRONMENT_LINUX: 'PATH="$PATH:$HOME/.cargo/bin" CARGO_NET_GIT_FETCH_WITH_CLI="true"'
CIBW_BEFORE_ALL_LINUX: "apk add --no-cache rustup && rustup-init -y && source $HOME/.cargo/env && rustup install stable && rustup default stable"
CIBW_ENVIRONMENT_LINUX: 'PATH="$PATH:$HOME/.cargo/bin:$HOME/.cargo/env" CARGO_NET_GIT_FETCH_WITH_CLI="true"'
CIBW_MUSLLINUX_X86_64_IMAGE: quay.io/pypa/musllinux_1_1_x86_64:latest
CIBW_SKIP: cp36-* pp* *win32 *macosx* *manylinux*
CIBW_BEFORE_BUILD: apk add -X http://dl-cdn.alpinelinux.org/alpine/edge/community --no-cache py3-setuptools-rust py3-numpy py3-semantic-version py3-tomli
CIBW_TEST_REQUIRES:
CIBW_BEFORE_BUILD: pip install -U setuptools-rust
CIBW_TEST_REQUIRES: networkx testtools fixtures
CIBW_BUILD_FRONTEND: "pip"
CIBW_TEST_COMMAND: python -m unittest discover {project}/tests/rustworkx_tests
CIBW_TEST_SKIP: cp312-* cp311-* cp310-* cp39-* cp38-*
CIBW_TEST_SKIP: cp312-*
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
Expand Down

0 comments on commit eddd577

Please sign in to comment.