]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Except when a test sneakily creates a wrapper script
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 21 Oct 2022 18:57:14 +0000 (14:57 -0400)
committerGitHub <noreply@github.com>
Fri, 21 Oct 2022 18:57:14 +0000 (14:57 -0400)
but then not so sneakily fails to catch all the previous sysctl instances

.github/workflows/ci-freebsd.yml

index e23a22996032d715f6158df3da74060631429dc9..f9bfd52061ed0367ef1915904966abe3dc7e4f50 100644 (file)
@@ -88,8 +88,8 @@ jobs:
           freebsd-version
           cd freeradius
           ./configure
-          gmake -j `sysctl -n hw.ncpu`
-          gmake -j `sysctl -n hw.ncpu` test.keywords test.unit test.modules test.auth test.digest
+          gmake -j `nproc`
+          gmake -j `nproc` test.keywords test.unit test.modules test.auth test.digest
           gmake test
           # Minimise rsync pushback as it often fails with "ssh_dispatch_run_fatal: Connection to A.B.C.D: message authentication code incorrect"
           git config --global --add safe.directory $(pwd)