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 754b6f2 commit 586f9e6
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/build_wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,33 @@ env:

jobs:
macos:
runs-on: macos-latest
runs-on: macos-latest #x86_64
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
architecture: x64
cache: 'pip'
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
default: true
- name: Build wheels - x86_64
- name: Build counterparty-rs
uses: messense/maturin-action@v1
with:
target: x86_64
args: --release --out dist --sdist -m ${{ env.COUNTERPARTY_RS_DIR }}/Cargo.toml
maturin-version: "v0.14.3"
- name: Build counterparty-lib
run: |
python -m pip install --upgrade build
cd counterparty-lib && python -m build
- name: Build counterparty-cli
run: |
cd counterparty-cli && python -m build
- name: Install built wheel - x86_64
run: |
pip install dist/counterparty_rs-*.whl --force-reinstall
pip install dist/*.whl --force-reinstall
pip install pytest
cd counterparty-rs && pytest -v
- name: Upload wheels
Expand Down

0 comments on commit 586f9e6

Please sign in to comment.