CI: set up multi-thread build for all platforms

This commit is contained in:
Alexey Ochapov authored and Victor Zverovich committed 2021-06-04 05:56:55 -07:00
1 parent f4c95f6dd9
commit 024741b476
3 files changed
+9 -3

No files matched your search

+3 -1
View File
@@ -26,7 +26,9 @@ jobs:
- name: Build
working-directory: ${{runner.workspace}}/build
run: cmake --build . --config ${{matrix.build_type}}
run: |
threads=`sysctl -n hw.logicalcpu`
cmake --build . --config ${{matrix.build_type}} --parallel $threads
- name: Test
working-directory: ${{runner.workspace}}/build