From 6da4f45b8e0b2e2bb9bae6e7de7ba05fdd8f85bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sat, 13 Apr 2024 15:38:53 -0400 Subject: [PATCH] CI(windows): Set number of cores for compilation (#3585) --- .github/workflows/osgeo4w.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/osgeo4w.yml b/.github/workflows/osgeo4w.yml index 2e3822ec949..e8bfecc532b 100644 --- a/.github/workflows/osgeo4w.yml +++ b/.github/workflows/osgeo4w.yml @@ -59,6 +59,11 @@ jobs: python3-matplotlib,python3-numpy,python3-ply,python3-pywin32,\ python3-wxpython,regex-devel,zstd-devel" + - name: Set number of cores for compilation + run: | + echo "MAKEFLAGS=-j$(nproc)" >> $GITHUB_ENV + shell: msys2 {0} + - name: Compile GRASS GIS run: D:\msys64\usr\bin\bash.exe -l (''+(Get-Location)+'\.github\workflows\build_osgeo4w.sh') (Get-Location)