mirror of
https://github.com/boostorg/integer.git
synced 2025-07-30 04:37:13 +02:00
Use the actual number of logical CPUs for the number of CI build/test jobs.
This commit is contained in:
@ -220,7 +220,8 @@ install:
|
|||||||
script:
|
script:
|
||||||
- |-
|
- |-
|
||||||
echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam
|
echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam
|
||||||
- ./b2 -j3 libs/integer/test toolset=$TOOLSET cxxstd=$CXXSTD
|
- BUILD_JOBS=`(nproc || sysctl -n hw.ncpu) 2> /dev/null`
|
||||||
|
- ./b2 -j $BUILD_JOBS libs/integer/test toolset=$TOOLSET cxxstd=$CXXSTD
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
@ -62,4 +62,4 @@ test_script:
|
|||||||
- ..\..\..\b2 config_info_travis_install %ARGS%
|
- ..\..\..\b2 config_info_travis_install %ARGS%
|
||||||
- config_info_travis
|
- config_info_travis
|
||||||
- cd ..\..\integer\test
|
- cd ..\..\integer\test
|
||||||
- ..\..\..\b2 -j3 %ARGS% define=CI_SUPPRESS_KNOWN_ISSUES
|
- ..\..\..\b2 -j %NUMBER_OF_PROCESSORS% %ARGS% define=CI_SUPPRESS_KNOWN_ISSUES
|
||||||
|
Reference in New Issue
Block a user