Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
024741b4
Commit
024741b4
authored
Jun 03, 2021
by
Alexey Ochapov
Committed by
Victor Zverovich
Jun 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: set up multi-thread build for all platforms
parent
f4c95f6d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
.github/workflows/linux.yml
.github/workflows/linux.yml
+3
-1
.github/workflows/macos.yml
.github/workflows/macos.yml
+3
-1
.github/workflows/windows.yml
.github/workflows/windows.yml
+3
-1
No files found.
.github/workflows/linux.yml
View file @
024741b4
...
@@ -67,7 +67,9 @@ jobs:
...
@@ -67,7 +67,9 @@ jobs:
-
name
:
Build
-
name
:
Build
working-directory
:
${{runner.workspace}}/build
working-directory
:
${{runner.workspace}}/build
run
:
cmake --build . --config ${{matrix.build_type}}
run
:
|
threads=`nproc`
cmake --build . --config ${{matrix.build_type}} --parallel $threads
-
name
:
Test
-
name
:
Test
working-directory
:
${{runner.workspace}}/build
working-directory
:
${{runner.workspace}}/build
...
...
.github/workflows/macos.yml
View file @
024741b4
...
@@ -26,7 +26,9 @@ jobs:
...
@@ -26,7 +26,9 @@ jobs:
-
name
:
Build
-
name
:
Build
working-directory
:
${{runner.workspace}}/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
-
name
:
Test
working-directory
:
${{runner.workspace}}/build
working-directory
:
${{runner.workspace}}/build
...
...
.github/workflows/windows.yml
View file @
024741b4
...
@@ -49,7 +49,9 @@ jobs:
...
@@ -49,7 +49,9 @@ jobs:
-
name
:
Build
-
name
:
Build
working-directory
:
${{runner.workspace}}/build
working-directory
:
${{runner.workspace}}/build
run
:
cmake --build . --config ${{matrix.build_type}}
run
:
|
$threads = (Get-CimInstance Win32_ComputerSystem).NumberOfLogicalProcessors
cmake --build . --config ${{matrix.build_type}} --parallel $threads
-
name
:
Test
-
name
:
Test
working-directory
:
${{runner.workspace}}/build
working-directory
:
${{runner.workspace}}/build
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment