Skip to content

Commit 88f149a

Browse files
committed
Use action to set MSVC developer prompt
1 parent 6b06907 commit 88f149a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ jobs:
8888
run: conda install python=${{ matrix.python-version }} tox make automake autoconf libtool yasm # Yasm in pypa/manylinux images.
8989
if: runner.os == 'Linux'
9090
- name: install requirements (Windows)
91-
run: conda install python=${{ matrix.python-version }} tox vs2019_win-64 nasm
91+
run: conda install python=${{ matrix.python-version }} tox nasm
92+
if: runner.os == 'Windows'
93+
- name: Set MSVC developer prompt
94+
uses: ilammy/[email protected]
9295
if: runner.os == 'Windows'
9396
- name: Run tests
9497
run: tox -e py3
@@ -118,9 +121,9 @@ jobs:
118121
channels: conda-forge,bioconda,defaults
119122
- name: Install requirements (universal)
120123
run: conda install isa-l python tox
121-
- name: install requirements (Windows)
124+
- name: Set MSVC developer prompt
125+
uses: ilammy/[email protected]
122126
if: runner.os == 'Windows'
123-
run: conda install vs2019_win-64
124127
- name: Run tests (dynamic link)
125128
run: tox -e py3
126129
env:

0 commit comments

Comments
 (0)