Apache DataFusion SQL Query Engine
ARROW-8194: [CI] Run tests in parallel on Github Actions
Antoine Pitrou0e4e853b3b49
diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.ymlindex e543d828cd..f6b053fbaf 100644--- a/.github/workflows/cpp.yml+++ b/.github/workflows/cpp.yml@@ -193,6 +193,7 @@ jobs:ARROW_VERBOSE_THIRDPARTY_BUILD: OFFBOOST_ROOT: C:\local\boost_1_67_0BOOST_LIBRARYDIR: C:\local\boost_1_67_0\lib64-msvc-14.1\+ NPROC: 2steps:- name: Disable Crash Dialogsrun: |@@ -257,6 +258,7 @@ jobs:-DBoost_NO_BOOST_CMAKE=ONCMAKE_GENERATOR: MSYS MakefilesCMAKE_UNITY_BUILD: ON+ NPROC: 2steps:- name: Disable Crash Dialogsrun: |diff --git a/ci/scripts/cpp_test.sh b/ci/scripts/cpp_test.shindex ca8addc74b..c7e480ee56 100755--- a/ci/scripts/cpp_test.sh+++ b/ci/scripts/cpp_test.sh@@ -36,7 +36,7 @@ case "$(uname)" inn_jobs=$(sysctl -n hw.ncpu);;*)- n_jobs=1+ n_jobs=${NPROC:-1};;esac