Skip to content

Commit

Permalink
with --features="malloc"
Browse files Browse the repository at this point in the history
  • Loading branch information
AlongWY committed Apr 4, 2024
1 parent 52cb334 commit 1818b89
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ltp-extension-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --manifest-path python/extension/Cargo.toml
args: --release --out dist --manifest-path python/extension/Cargo.toml --features="malloc"
sccache: 'true'
manylinux: auto
- name: Upload wheels
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --manifest-path python/extension/Cargo.toml
args: --release --out dist --manifest-path python/extension/Cargo.toml --features="malloc"
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -99,7 +99,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --manifest-path python/extension/Cargo.toml
args: --release --out dist --manifest-path python/extension/Cargo.toml --features="malloc"
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -115,7 +115,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
command: sdist
args: --out dist --manifest-path python/extension/Cargo.toml
args: --out dist --manifest-path python/extension/Cargo.toml --features="malloc"
- name: Upload sdist
uses: actions/upload-artifact@v4
with:
Expand All @@ -126,7 +126,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [linux, windows, macos, sdist]
needs: [ linux, windows, macos, sdist ]
steps:
- uses: actions/download-artifact@v4
- name: Publish to PyPI
Expand Down

0 comments on commit 1818b89

Please sign in to comment.