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 f1cb6dd commit 749be5c
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/build_wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:

jobs:
macos:
runs-on: macos-latest
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand All @@ -39,19 +39,7 @@ jobs:
- name: Install built wheel - x86_64
run: |
cd ${{ env.COUNTERPARTY_RS_DIR }}
pip install dist/counterparty_rs-*.whl --force-reinstall
pip install pytest
pytest -v
- name: Build wheels - universal2
uses: messense/maturin-action@v1
with:
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 }}
run: |
cd ${{ env.COUNTERPARTY_RS_DIR }}
pip install dist/counterparty_rs-*universal2.whl --force-reinstall
pip install ${{ env.COUNTERPARTY_RS_DIR }}/dist/counterparty_rs-*.whl --force-reinstall
pip install pytest
pytest -v
- name: Upload wheels
Expand Down

0 comments on commit 749be5c

Please sign in to comment.