From ab9721906e4033baeb0b13850d509262a84c9cbf Mon Sep 17 00:00:00 2001 From: Ajay Brahmakshatriya Date: Thu, 12 Dec 2024 09:22:50 -0500 Subject: [PATCH] Fixed CI on MACOS to get nproc appropriately --- .github/workflows/ci-all-samples.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-all-samples.yml b/.github/workflows/ci-all-samples.yml index c6cef88..054a545 100644 --- a/.github/workflows/ci-all-samples.yml +++ b/.github/workflows/ci-all-samples.yml @@ -21,5 +21,5 @@ jobs: - run: echo "Starting tests" - name: Checking out repository uses: actions/checkout@v2 - - run: make -C ${{ github.workspace }} -j$(nproc) run + - run: make -C ${{ github.workspace }} -j$(sysctl -n hw.physicalcpu) run - run: echo "Tests completed"