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:
Lars Melchior
2020-04-14 14:05:36 +02:00
committed by GitHub
parent 1dc64084eb
commit a68c697c09
6 changed files with 6 additions and 6 deletions

View File

@@ -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: |

View File

@@ -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: |

View File

@@ -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

View File

@@ -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: |

View File

@@ -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: |

View File

@@ -5,7 +5,7 @@
[![Actions Status](https://github.com/TheLartians/ModernCPPStarter/workflows/Install/badge.svg)](https://github.com/TheLartians/ModernCPPStarter/actions) [![Actions Status](https://github.com/TheLartians/ModernCPPStarter/workflows/Install/badge.svg)](https://github.com/TheLartians/ModernCPPStarter/actions)
[![codecov](https://codecov.io/gh/TheLartians/ModernCPPStarter/branch/master/graph/badge.svg)](https://codecov.io/gh/TheLartians/ModernCPPStarter) [![codecov](https://codecov.io/gh/TheLartians/ModernCPPStarter/branch/master/graph/badge.svg)](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.