|
|
|
@@ -61,20 +61,24 @@ jobs: |
|
|
|
file_glob: true |
|
|
|
|
|
|
|
windows: |
|
|
|
runs-on: windows-latest |
|
|
|
runs-on: ${{ matrix.platform.runner }} |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
target: [x64] |
|
|
|
platform: |
|
|
|
- runner: windows-latest |
|
|
|
target: x64 |
|
|
|
- runner: windows-latest |
|
|
|
target: x86 |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/setup-python@v4 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
- uses: actions/setup-python@v5 |
|
|
|
with: |
|
|
|
python-version: "3.7" |
|
|
|
architecture: ${{ matrix.target }} |
|
|
|
architecture: ${{ matrix.platform.target }} |
|
|
|
- name: Build wheels |
|
|
|
uses: PyO3/maturin-action@v1 |
|
|
|
with: |
|
|
|
target: ${{ matrix.target }} |
|
|
|
target: ${{ matrix.platform.target }} |
|
|
|
args: --release --out dist |
|
|
|
sccache: "true" |
|
|
|
working-directory: apis/python/node |
|
|
|
|