Introduce CI matrix
This commit is contained in:
parent
808662c1cd
commit
4ff9be1268
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -19,9 +19,9 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- run-name: CPU
|
||||
- name: CPU
|
||||
run: ./run.py -f=.github/examples/face.jpg -t=.github/examples/target.mp4 -o=.github/examples/output.mp4
|
||||
- run-name: GPU
|
||||
- name: GPU
|
||||
run: ./run.py -f=.github/examples/face.jpg -t=.github/examples/target.mp4 -o=.github/examples/output.mp4 --gpu-vendor=nvidia
|
||||
steps:
|
||||
- name: Checkout
|
||||
@ -32,7 +32,7 @@ jobs:
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
- run: pip install -r requirements.txt tensorrt gdown
|
||||
- run: pip install -r requirements.txt gdown
|
||||
- run: gdown 13QpWFWJ37EB-nHrEOY64CEtQWY-tz7DZ
|
||||
- run: ${{ matrix.run }}
|
||||
- run: ffmpeg -i .github/examples/snapshot.mp4 -i .github/examples/output.mp4 -filter_complex "psnr" -f null -
|
||||
|
Loading…
Reference in New Issue
Block a user