Skip to content

Commit

Permalink
trying to compile on windows x86
Browse files Browse the repository at this point in the history
  • Loading branch information
BDonnot committed Apr 9, 2024
1 parent 2c2a03b commit c16ff57
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c16ff57

Please sign in to comment.