diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d13ffd6..c297661 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -167,6 +167,15 @@ jobs: name: cp312, version: '3.12', } + win_arch: + - { + name: "AMD64", + msvc: x64 + } + - { + name: "x86", + msvc: x86 + } env: RUNNER_OS: windows-2019 PYTHON_VERSION: ${{ matrix.python.version }} @@ -183,6 +192,12 @@ jobs: with: python-version: ${{ matrix.python.version }} + - name: Setup MSVC (64-bit) + if: matrix.cibw_arch == 'AMD64' + uses: bus1/cabuild/action/msdevshell@e22aba57d6e74891d059d66501b6b5aed8123c4d # v1 + with: + architecture: ${{ matrix.win_arch.msvc}} + - name: Install Python dependencies run: | python -m pip install --upgrade pip @@ -229,7 +244,7 @@ jobs: - name: Upload wheel uses: actions/upload-artifact@v3 with: - name: lightsim2grid-wheel-win-${{ matrix.python.name }} + name: lightsim2grid-wheel-win-${{ matrix.python.name }}-${{ matrix.win_arch.msvc}} path: dist/*.whl macos_build_37: