Skip to content

Commit

Permalink
ARROW-8194: [CI] Run tests in parallel on Github Actions
Browse files Browse the repository at this point in the history
Closes #6699 from pitrou/ARROW-8194-gha-nproc

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
  • Loading branch information
pitrou committed Mar 24, 2020
1 parent 4fb888f commit bd3182f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/cpp.yml
Expand Up @@ -193,6 +193,7 @@ jobs:
ARROW_VERBOSE_THIRDPARTY_BUILD: OFF
BOOST_ROOT: C:\local\boost_1_67_0
BOOST_LIBRARYDIR: C:\local\boost_1_67_0\lib64-msvc-14.1\
NPROC: 2
steps:
- name: Disable Crash Dialogs
run: |
Expand Down Expand Up @@ -257,6 +258,7 @@ jobs:
-DBoost_NO_BOOST_CMAKE=ON
CMAKE_GENERATOR: MSYS Makefiles
CMAKE_UNITY_BUILD: ON
NPROC: 2
steps:
- name: Disable Crash Dialogs
run: |
Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/cpp_test.sh
Expand Up @@ -36,7 +36,7 @@ case "$(uname)" in
n_jobs=$(sysctl -n hw.ncpu)
;;
*)
n_jobs=1
n_jobs=${NPROC:-1}
;;
esac

Expand Down

0 comments on commit bd3182f

Please sign in to comment.