mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-12-17 20:14:36 +03:00
Run CI builds with parallel flags (#3)
* Run CI builds with parallel flags * Ninja is unavailable. Fallback to -j4 * Update project name in readme
This commit is contained in:
2
.github/workflows/install.yml
vendored
2
.github/workflows/install.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
run: cmake -Htest -Bbuild -DTEST_INSTALLED_VERSION=1
|
run: cmake -Htest -Bbuild -DTEST_INSTALLED_VERSION=1
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: cmake --build build --config Debug
|
run: cmake --build build --config Debug -j4
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
run: cmake -Htest -Bbuild
|
run: cmake -Htest -Bbuild
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: cmake --build build --config Debug
|
run: cmake --build build --config Debug -j4
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
2
.github/workflows/standalone.yml
vendored
2
.github/workflows/standalone.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
run: cmake -Hstandalone -Bbuild
|
run: cmake -Hstandalone -Bbuild
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: cmake --build build
|
run: cmake --build build -j4
|
||||||
|
|
||||||
- name: run
|
- name: run
|
||||||
run: ./build/Greeter
|
run: ./build/Greeter
|
||||||
|
|||||||
2
.github/workflows/ubuntu.yml
vendored
2
.github/workflows/ubuntu.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
run: cmake -Htest -Bbuild -DENABLE_TEST_COVERAGE=1
|
run: cmake -Htest -Bbuild -DENABLE_TEST_COVERAGE=1
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: cmake --build build --config Debug
|
run: cmake --build build --config Debug -j4
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
run: cmake -Htest -Bbuild
|
run: cmake -Htest -Bbuild
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: cmake --build build --config Debug
|
run: cmake --build build --config Debug -j4
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
[](https://github.com/TheLartians/ModernCPPStarter/actions)
|
[](https://github.com/TheLartians/ModernCPPStarter/actions)
|
||||||
[](https://codecov.io/gh/TheLartians/ModernCPPStarter)
|
[](https://codecov.io/gh/TheLartians/ModernCPPStarter)
|
||||||
|
|
||||||
# ModernCPPStarter
|
# ModernCppStarter
|
||||||
|
|
||||||
A template for starting modern C++ libraries and projects.
|
A template for starting modern C++ libraries and projects.
|
||||||
Setting up a new C++ project usually requires a significant amount of preparation and boilerplate code.
|
Setting up a new C++ project usually requires a significant amount of preparation and boilerplate code.
|
||||||
|
|||||||
Reference in New Issue
Block a user