Skip to content

Add LWK logos

Add LWK logos #267

Workflow file for this run

on:
push:
branches:
- master
pull_request: {}
name: Build python wheels on mac and windows
jobs:
osx-wheels:
strategy:
matrix:
os: ["macos-13", "macos-14"] # 13 -> x86_64, 14 -> arm64 # https://github.com/actions/runner-images?tab=readme-ov-file#available-images
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.75.0
with:
components: "clippy,rust-src,rustfmt" # required by maturin build
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: python3 -m pip install maturin
- run: python3 -m pip install uniffi-bindgen==0.26.1 # must be the same version as the dep in lwk_bindings/Cargo.toml
- run: maturin build --release -m lwk_bindings/Cargo.toml -b uniffi
- uses: actions/upload-artifact@v4
with:
name: osx-wheel-${{ matrix.os }}
path: target/wheels
windows-wheels:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.75.0
with:
components: "clippy,rust-src,rustfmt" # required by maturin build
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: python3 -m pip install maturin
- run: python3 -m pip install uniffi-bindgen==0.26.1 # must be the same version as the dep in lwk_bindings/Cargo.toml
- run: maturin build --release -m lwk_bindings/Cargo.toml -b uniffi
- uses: actions/upload-artifact@v4
with:
name: windows-wheels
path: target/wheels