Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 16 additions & 18 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ permissions:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
MATURIN_VERSION: ">=1.4,<2.0"

jobs:
lint:
Expand Down Expand Up @@ -77,13 +78,12 @@ jobs:

- uses: Swatinem/rust-cache@v2

- name: Install maturin
run: python -m pip install "maturin${MATURIN_VERSION}"

- name: Build wheel
uses: PyO3/maturin-action@v1
with:
command: build
args: --release --out dist -i python${{ matrix.python-version }}
rust-toolchain: stable
working-directory: crates/bashkit-python
working-directory: crates/bashkit-python
run: python -m maturin build --release --out dist -i python${{ matrix.python-version }}

- name: Install wheel and test dependencies
run: |
Expand Down Expand Up @@ -118,13 +118,12 @@ jobs:

- uses: Swatinem/rust-cache@v2

- name: Install maturin
run: python -m pip install "maturin${MATURIN_VERSION}"

- name: Build wheel
uses: PyO3/maturin-action@v1
with:
command: build
args: --release --out dist -i python3.12
rust-toolchain: stable
working-directory: crates/bashkit-python
working-directory: crates/bashkit-python
run: python -m maturin build --release --out dist -i python3.12

- name: Install local wheel
run: |
Expand Down Expand Up @@ -164,13 +163,12 @@ jobs:
with:
python-version: "3.12"

- name: Install maturin
run: python -m pip install "maturin${MATURIN_VERSION}"

- name: Build wheel
uses: PyO3/maturin-action@v1
with:
command: build
args: --release --out dist
rust-toolchain: stable
working-directory: crates/bashkit-python
working-directory: crates/bashkit-python
run: python -m maturin build --release --out dist

- name: Verify wheel metadata
run: |
Expand Down
Loading