mirror of
https://github.com/boostorg/detail.git
synced 2025-08-01 21:34:28 +02:00
Use the actual number of logical CPUs for the number of CI build/test jobs.
This commit is contained in:
@@ -268,7 +268,8 @@ install:
|
|||||||
script:
|
script:
|
||||||
- |-
|
- |-
|
||||||
echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam
|
echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam
|
||||||
- ./b2 libs/detail/test toolset=$TOOLSET cxxstd=$CXXSTD
|
- BUILD_JOBS=`(nproc || sysctl -n hw.ncpu) 2> /dev/null`
|
||||||
|
- ./b2 -j $BUILD_JOBS libs/detail/test toolset=$TOOLSET cxxstd=$CXXSTD
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
Reference in New Issue
Block a user