mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Set to Windows build check to pass all wheels to pip at once
This commit is contained in:
parent
000c4c6428
commit
3dd474288d
1 changed files with 5 additions and 4 deletions
9
.github/workflows/checks.yml
vendored
9
.github/workflows/checks.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue