added maturin metadata
This commit is contained in:
@@ -30,7 +30,7 @@ jobs:
|
|||||||
uses: messense/maturin-action@v1
|
uses: messense/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
target: x86_64
|
target: x86_64
|
||||||
args: --release --out dist -m ./Cargo.toml
|
args: --release --out dist
|
||||||
|
|
||||||
- name: Install built wheel - x86_64
|
- name: Install built wheel - x86_64
|
||||||
run: |
|
run: |
|
||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
- name: Build wheels - universal2
|
- name: Build wheels - universal2
|
||||||
uses: messense/maturin-action@v1
|
uses: messense/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
args: --release --universal2 --out dist --no-sdist -m ./Cargo.toml
|
args: --release --universal2 --out dist --no-sdist
|
||||||
|
|
||||||
- name: Install built wheel - universal2
|
- name: Install built wheel - universal2
|
||||||
run: |
|
run: |
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
uses: messense/maturin-action@v1
|
uses: messense/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
args: --release --out dist --no-sdist -m ./Cargo.toml
|
args: --release --out dist --no-sdist
|
||||||
|
|
||||||
- name: Install built wheel
|
- name: Install built wheel
|
||||||
run: |
|
run: |
|
||||||
@@ -112,7 +112,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
manylinux: auto
|
manylinux: auto
|
||||||
args: --release --out dist --no-sdist -m ./Cargo.toml
|
args: --release --out dist --no-sdist
|
||||||
|
|
||||||
- name: Install built wheel
|
- name: Install built wheel
|
||||||
if: matrix.target == 'x86_64'
|
if: matrix.target == 'x86_64'
|
||||||
@@ -145,7 +145,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
manylinux: auto
|
manylinux: auto
|
||||||
args: --release --out dist --no-sdist -i python -m ./Cargo.toml
|
args: --release --out dist --no-sdist
|
||||||
|
|
||||||
- name: Install built wheel
|
- name: Install built wheel
|
||||||
uses: uraimo/run-on-arch-action@v2.0.5
|
uses: uraimo/run-on-arch-action@v2.0.5
|
||||||
@@ -190,7 +190,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
manylinux: musllinux_1_2
|
manylinux: musllinux_1_2
|
||||||
args: --release --out dist --no-sdist -i python -m ./Cargo.toml
|
args: --release --out dist --no-sdist
|
||||||
|
|
||||||
- name: Install built wheel
|
- name: Install built wheel
|
||||||
if: matrix.target == 'x86_64-unknown-linux-musl'
|
if: matrix.target == 'x86_64-unknown-linux-musl'
|
||||||
@@ -233,7 +233,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
target: ${{ matrix.platform.target }}
|
target: ${{ matrix.platform.target }}
|
||||||
manylinux: musllinux_1_2
|
manylinux: musllinux_1_2
|
||||||
args: --release --out dist --no-sdist -m ./Cargo.toml
|
args: --release --out dist --no-sdist
|
||||||
|
|
||||||
- name: Install built wheel
|
- name: Install built wheel
|
||||||
uses: uraimo/run-on-arch-action@master
|
uses: uraimo/run-on-arch-action@master
|
||||||
|
|||||||
@@ -18,3 +18,7 @@ rosu-pp = { version = "0.5" }
|
|||||||
lto = "fat"
|
lto = "fat"
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
strip = "debuginfo"
|
strip = "debuginfo"
|
||||||
|
|
||||||
|
[package.metadata.maturin]
|
||||||
|
name = "rosu_pp_py"
|
||||||
|
python-source = "python"
|
||||||
Reference in New Issue
Block a user