From 3b60b225b3c82330efe002cdb8b5fb4cfd973906 Mon Sep 17 00:00:00 2001 From: tersec Date: Thu, 12 Jan 2023 14:47:33 +0000 Subject: [PATCH] reduce intermittent Windows GitHub Actions CI build failures (#4495) --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db081c08f..bf0c000f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -121,7 +121,10 @@ jobs: ncpu=$(sysctl -n hw.ncpu) ;; 'Windows') - ncpu=${NUMBER_OF_PROCESSORS} + # otherwise, intermittent CI build failures + # e.g., cc1.exe: out of memory allocating 215528 bytes + # underflow corrected later + ncpu=$((${NUMBER_OF_PROCESSORS} - 1)) make_cmd="mingw32-make" ;; esac