]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
ci: don't run make with infinite parallel jobs
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 8 Oct 2022 02:12:43 +0000 (04:12 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Mon, 17 Oct 2022 22:00:20 +0000 (00:00 +0200)
.github/workflows/cibuild.sh

index 841934d933d9a74f91193c0092b93c59918dcbf0..9a67d69ae359fcbf9df6c3ff29548bd2cb141f72 100755 (executable)
@@ -111,8 +111,8 @@ for phase in "${PHASES[@]}"; do
         CC="$CC" CXX="$CXX" CFLAGS="${CFLAGS[@]}" CXXFLAGS="${CXXFLAGS[@]}" LDFLAGS="${LDFLAGS[@]}" ./configure "${opts[@]}"
         ;;
     MAKE)
-        make -j
-        make -j check-programs
+        make -j"$(nproc)"
+        make -j"$(nproc)" check-programs
         ;;
     INSTALL)
         make install DESTDIR=/tmp/dest