Skip to content

Commit

Permalink
more CIBW setup
Browse files Browse the repository at this point in the history
  • Loading branch information
flaport committed Sep 5, 2023
1 parent 860a63e commit ecabd48
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,14 @@ jobs:
- name: Python Setup
uses: actions/setup-python@v3

- name: Rust Setup
uses: dtolnay/rust-toolchain@stable

- name: Rust Caching
id: cache-rust
uses: Swatinem/rust-cache@v2
with:
key: v1

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.15.0

- name: Build wheels
run: cd eigs-py && python -m cibuildwheel --output-dir ../wheelhouse && cd -
env:
CIBW_BEFORE_BUILD: 'yum install -y openssl-devel blas-devel lapack-devel && curl https://sh.rustup.rs -o /tmp/rustup.sh && sh /tmp/rustup.sh -y'
CIBW_ENVIRONMENT: 'PATH="$HOME/.cargo/bin:$PATH"'

- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit ecabd48

Please sign in to comment.