fix: workflow?
This commit is contained in:
@@ -14,7 +14,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Python setup
|
- name: Python setup
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
architecture: x64
|
architecture: x64
|
||||||
@@ -27,10 +27,10 @@ jobs:
|
|||||||
default: true
|
default: true
|
||||||
|
|
||||||
- name: Build wheels - x86_64
|
- name: Build wheels - x86_64
|
||||||
uses: messense/maturin-action@v1
|
uses: PyO3/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
target: x86_64
|
target: x86_64
|
||||||
args: --release --out dist
|
args: --release --out dist --sdist
|
||||||
|
|
||||||
- name: Install built wheel - x86_64
|
- name: Install built wheel - x86_64
|
||||||
run: |
|
run: |
|
||||||
@@ -38,9 +38,9 @@ jobs:
|
|||||||
python -c "import akatsuki_pp_py"
|
python -c "import akatsuki_pp_py"
|
||||||
|
|
||||||
- name: Build wheels - universal2
|
- name: Build wheels - universal2
|
||||||
uses: messense/maturin-action@v1
|
uses: PyO3/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
args: --release --universal2 --out dist --no-sdist
|
args: --release --universal2 --out dist
|
||||||
|
|
||||||
- name: Install built wheel - universal2
|
- name: Install built wheel - universal2
|
||||||
run: |
|
run: |
|
||||||
@@ -63,7 +63,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Python setup
|
- name: Python setup
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
architecture: ${{ matrix.target }}
|
architecture: ${{ matrix.target }}
|
||||||
@@ -76,10 +76,10 @@ jobs:
|
|||||||
default: true
|
default: true
|
||||||
|
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
uses: messense/maturin-action@v1
|
uses: PyO3/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
args: --release --out dist --no-sdist
|
args: --release --out dist
|
||||||
|
|
||||||
- name: Install built wheel
|
- name: Install built wheel
|
||||||
run: |
|
run: |
|
||||||
@@ -93,7 +93,7 @@ jobs:
|
|||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target: [x86_64, i686]
|
target: [x86_64, i686]
|
||||||
@@ -102,17 +102,17 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Python setup
|
- name: Python setup
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
architecture: x64
|
architecture: x64
|
||||||
|
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
uses: messense/maturin-action@v1
|
uses: PyO3/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
manylinux: auto
|
manylinux: auto
|
||||||
args: --release --out dist --no-sdist
|
args: --release --out dist -i 3.9
|
||||||
|
|
||||||
- name: Install built wheel
|
- name: Install built wheel
|
||||||
if: matrix.target == 'x86_64'
|
if: matrix.target == 'x86_64'
|
||||||
|
|||||||
Reference in New Issue
Block a user