Skip to content

Commit

Permalink
github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ouziel committed Mar 5, 2024
1 parent f763998 commit eda7f2b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build_wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ jobs:
profile: minimal
default: true
- name: Build wheels - x86_64
working-directory: ${{ env.COUNTERPARTY_RS_DIR }}
uses: messense/maturin-action@v1
with:
target: x86_64
args: --release --out dist --sdist
args: --release --out dist --sdist -m ${{ env.COUNTERPARTY_RS_DIR }}/Cargo.toml
maturin-version: "v0.14.3"
- name: Install built wheel - x86_64
working-directory: ${{ env.COUNTERPARTY_RS_DIR }}
Expand All @@ -44,10 +43,9 @@ jobs:
pip install pytest
pytest -v
- name: Build wheels - universal2
working-directory: ${{ env.COUNTERPARTY_RS_DIR }}
uses: messense/maturin-action@v1
with:
args: --release --universal2 --out dist
args: --release --universal2 --out dist -m ${{ env.COUNTERPARTY_RS_DIR }}/Cargo.toml
maturin-version: "v0.14.3"
- name: Install built wheel - universal2
working-directory: ${{ env.COUNTERPARTY_RS_DIR }}
Expand All @@ -56,8 +54,7 @@ jobs:
pip install pytest
pytest -v
- name: Upload wheels
working-directory: ${{ env.COUNTERPARTY_RS_DIR }}
uses: actions/upload-artifact@v2
with:
name: wheels
path: dist
path: ${{ env.COUNTERPARTY_RS_DIR }}/dist

0 comments on commit eda7f2b

Please sign in to comment.