Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,12 @@ jobs:
with:
version: ${{ matrix.python-version }}

- name: Install dependencies
run: make develop
if: matrix.os != 'windows-latest'
- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1
if: matrix.os == 'windows-latest'

- name: Install dependencies
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
make develop
shell: cmd
if: matrix.os == 'windows-latest'
run: make develop

- name: Lint
run: make lint
Expand Down Expand Up @@ -106,12 +102,10 @@ jobs:
- name: Make dist (Windows)
run: |
if exist dist rmdir /s /q dist
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
make dist-py-wheel
shell: cmd
env:
CIBW_BUILD: "${{ matrix.cibuildwheel }}-win_amd64"
CIBW_BEFORE_ALL: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
if: matrix.os == 'windows-latest'

- uses: actions-ext/python/test-wheel@main
Expand Down
Loading