diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c91d9b7121b09fbdef98a52d37821b516e0cccf4..4daff3dcd2250eb5e4868ee003882762ba1662d9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,4 +2,6 @@ build:
   script:
     - autoreconf -si
     - ./configure
-    - make all pdf html
+    - make -j$(nproc)
+    - make -j$(nproc) pdf
+    - make -j$(nproc) html