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