From 92af5f1fea6157055dff63d6b12f7d14560d0915 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Sat, 3 Jun 2023 10:57:42 +0200 Subject: [PATCH] Introduce CI matrix --- .github/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b0b00d..cb2b75a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,12 +16,13 @@ jobs: - run: flake8 run.py core test: runs-on: ubuntu-latest - matrix: + strategy: + matrix: include: - - name: CPU - args: -f=.github/examples/face.jpg -t=.github/examples/target.mp4 -o=.github/examples/output.mp4 --gpu-vendor=nvidia - - name: GPU - args: -f=.github/examples/face.jpg -t=.github/examples/target.mp4 -o=.github/examples/output.mp4 + - name: CPU + args: -f=.github/examples/face.jpg -t=.github/examples/target.mp4 -o=.github/examples/output.mp4 --gpu-vendor=nvidia + - name: GPU + args: -f=.github/examples/face.jpg -t=.github/examples/target.mp4 -o=.github/examples/output.mp4 steps: - name: Checkout uses: actions/checkout@v2