summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2020-03-25 11:30:21 +0200
committerPanu Matilainen <pmatilai@redhat.com>2020-03-26 11:57:58 +0200
commite2ed6992a8c1daee4d1843cf77791a8f40a57bbe (patch)
tree23a7d71c56c14f4f5601a185e916c00047dfaa87
parent5ae32f7b838b99bfb111ce9d9c13ffc160ff2d6c (diff)
downloadrpm-e2ed6992a8c1daee4d1843cf77791a8f40a57bbe.tar.gz
Run CI as parallel build to maximum available CPUs
(cherry picked from commit a08ce7be1365f85577437242d91ec42c348c4f1f) But still use make check instead of make distcheck
-rw-r--r--ci/Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/Dockerfile b/ci/Dockerfile
index c2ed141fe..17b6f7b28 100644
--- a/ci/Dockerfile
+++ b/ci/Dockerfile
@@ -49,7 +49,9 @@ RUN ./configure \
--with-acl \
--with-lua \
--enable-silent-rules \
- --enable-python
-RUN make
+ --enable-python \
+ --enable-werror
+
+RUN make -j
CMD make check; rc=$?; cat tests/rpmtests.log; exit $rc