Set to Windows build check to pass all wheels to pip at once

This commit is contained in:
evandrocoan 2020-03-27 19:12:07 -03:00
parent 000c4c6428
commit 3dd474288d

View file

@ -104,7 +104,7 @@ jobs:
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: ${{ matrix.PIP_WHEELS_DIR }} path: ${{ matrix.PIP_WHEELS_DIR }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/setup.py') }}-14- key: ${{ runner.os }}-pip-wheels-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/setup.py') }}-14-
- name: Cache cargo index - name: Cache cargo index
uses: actions/cache@v1 uses: actions/cache@v1
@ -267,9 +267,10 @@ jobs:
run: | run: |
echo on echo on
copy %pyaudio% dist copy %pyaudio% dist
python -m pip install %pyaudio%
cd dist cd dist
cmd /C for /R %%i in (*.whl) DO python -m pip install "%%i" setlocal EnableDelayedExpansion
cmd /C set "wheels=" && for /f "delims=" %%i in ('dir /b *.whl') DO set "wheels="%%i" !wheels!"
python -m pip install %wheels%
python -c "import aqt; # aqt.run()" python -c "import aqt; # aqt.run()"
- name: Check Linux/Mac OS wheels - name: Check Linux/Mac OS wheels
@ -277,7 +278,7 @@ jobs:
run: | run: |
set -x set -x
cd dist cd dist
python -m pip install * python -m pip install *.whl
python -c "import aqt; # aqt.run()" python -c "import aqt; # aqt.run()"
- run: make check - run: make check