File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 ctest_options : -T memcheck
6262 install : sudo apt install valgrind
6363
64- # Build and with QUILL_X86ARCH
65- - cxx : g++-12
66- build_type : Release
67- std : 23
68- os : ubuntu-22.04
69- with_tests : ON
70- cmake_options : -DCMAKE_CXX_FLAGS:STRING="-DQUILL_X86ARCH -march=native"
71-
7264 # Build and test sanitizers
7365 - cxx : clang++-12
7466 build_type : Release
@@ -112,6 +104,8 @@ jobs:
112104
113105 - name : Test
114106 working-directory : ${{runner.workspace}}/build
115- run : ctest --build-config ${{matrix.build_type}} ${{matrix.ctest_options}} --output-on-failure
107+ run : |
108+ threads=`nproc`
109+ ctest --build-config ${{matrix.build_type}} ${{matrix.ctest_options}} --parallel $threads --output-on-failure
116110 env :
117111 CTEST_OUTPUT_ON_FAILURE : True
Original file line number Diff line number Diff line change 4545
4646 - name : Test
4747 working-directory : ${{runner.workspace}}/build
48- run : ctest --build-config ${{matrix.build_type}} --output-on-failure
48+ run : |
49+ threads=`sysctl -n hw.logicalcpu`
50+ ctest --build-config ${{matrix.build_type}} --parallel $threads --output-on-failure
Original file line number Diff line number Diff line change 7373
7474 - name : Test
7575 working-directory : ${{runner.workspace}}/build
76- run : ctest --build-config ${{matrix.build_type}} --output-on-failure
76+ run : |
77+ $threads = (Get-CimInstance Win32_ComputerSystem).NumberOfLogicalProcessors
78+ ctest --build-config ${{matrix.build_type}} --parallel $threads --output-on-failure
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ TEST_CASE("bounded_queue_integer_overflow")
8282}
8383#endif
8484
85- TEST_CASE (" read_write_multithreaded_plain_ints " )
85+ TEST_CASE (" bounded_queue_read_write_multithreaded_plain_ints " )
8686{
8787 BoundedQueue buffer{131'072 };
8888
You can’t perform that action at this time.
0 commit comments