mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 12:57:26 +02:00
Enabled parallel build in CMake CI jobs.
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -565,7 +565,7 @@ jobs:
|
|||||||
cd ../boost-root/libs/$LIBRARY/test/cmake_subdir_test
|
cd ../boost-root/libs/$LIBRARY/test/cmake_subdir_test
|
||||||
mkdir __build__ && cd __build__
|
mkdir __build__ && cd __build__
|
||||||
cmake ..
|
cmake ..
|
||||||
cmake --build .
|
cmake --build . -- -j $BUILD_JOBS
|
||||||
ctest --output-on-failure --no-tests=error
|
ctest --output-on-failure --no-tests=error
|
||||||
|
|
||||||
posix-cmake-install:
|
posix-cmake-install:
|
||||||
@ -615,13 +615,13 @@ jobs:
|
|||||||
- name: Install
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
cd ../boost-root/__build__
|
cd ../boost-root/__build__
|
||||||
cmake --build . --target install
|
cmake --build . --target install -- -j $BUILD_JOBS
|
||||||
|
|
||||||
- name: Use the installed library
|
- name: Use the installed library
|
||||||
run: |
|
run: |
|
||||||
cd ../boost-root/libs/$LIBRARY/test/cmake_install_test && mkdir __build__ && cd __build__
|
cd ../boost-root/libs/$LIBRARY/test/cmake_install_test && mkdir __build__ && cd __build__
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
|
cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
|
||||||
cmake --build .
|
cmake --build . -- -j $BUILD_JOBS
|
||||||
ctest --output-on-failure --no-tests=error
|
ctest --output-on-failure --no-tests=error
|
||||||
|
|
||||||
posix-cmake-test:
|
posix-cmake-test:
|
||||||
@ -671,7 +671,7 @@ jobs:
|
|||||||
- name: Build tests
|
- name: Build tests
|
||||||
run: |
|
run: |
|
||||||
cd ../boost-root/__build__
|
cd ../boost-root/__build__
|
||||||
cmake --build . --target tests
|
cmake --build . --target tests -- -j $BUILD_JOBS
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user