summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-04-08 05:31:16 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-04-08 05:33:46 +0200
commit825472556866f473e577c150fed8da9eb84d5b79 (patch)
tree376575d1007afc746bec0069c9f225b49394fc3b
parentaf490e4dcea79ec4d8e42234462ec9cce6c017a9 (diff)
github ci: reduce parallelism to decrease container overhead
-rw-r--r--.github/workflows/c.yml8
1 files changed, 2 insertions, 6 deletions
diff --git a/.github/workflows/c.yml b/.github/workflows/c.yml
index 2be7fd6..941075e 100644
--- a/.github/workflows/c.yml
+++ b/.github/workflows/c.yml
@@ -17,8 +17,6 @@ jobs:
matrix:
curl: [0, 1]
exif: [0, 1]
- inotify: [0, 1]
- verscmp: [0, 1]
xinerama: [0, 1]
steps:
@@ -34,7 +32,5 @@ jobs:
- name: Install Xinerama
if: matrix.xinerama
run: sudo apt install libxinerama-dev
- - name: Build
- run: make curl=${{ matrix.curl }} exif=${{ matrix.exif }} inotify=${{ matrix.inotify }} verscmp=${{ matrix.verscmp }} xinerama=${{ matrix.xinerama }}
- - name: run Tests
- run: make test
+ - name: Build and Test
+ run: for inotify in 0 1; do for verscmp in 0 1; do make curl=${{ matrix.curl }} exif=${{ matrix.exif }} inotify=$inotify verscmp=$verscmp xinerama=${{ matrix.xinerama }} && make test && make clean; done; done