Introduce CI matrix

This commit is contained in:
henryruhs 2023-06-03 11:40:45 +02:00
parent 71f7f3f681
commit 808662c1cd

View File

@ -19,9 +19,9 @@ jobs:
strategy:
matrix:
include:
- name: CPU
- run-name: CPU
run: ./run.py -f=.github/examples/face.jpg -t=.github/examples/target.mp4 -o=.github/examples/output.mp4
- name: GPU
- run-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
@ -34,6 +34,6 @@ jobs:
python-version: 3.9
- run: pip install -r requirements.txt tensorrt gdown
- run: gdown 13QpWFWJ37EB-nHrEOY64CEtQWY-tz7DZ
- run: {{ matrix.run }}
- run: ${{ matrix.run }}
- run: ffmpeg -i .github/examples/snapshot.mp4 -i .github/examples/output.mp4 -filter_complex "psnr" -f null -