👷 parallelize builds

This commit is contained in:
Niels Lohmann 2020-05-12 20:45:18 +02:00
parent 6e59c8301a
commit 77e0ba8750
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
3 changed files with 4 additions and 4 deletions

View file

@ -12,6 +12,6 @@ jobs:
- name: cmake
run: cmake -S . -B build
- name: build
run: cmake --build build
run: cmake --build build --parallel 10
- name: test
run: cd build ; ctest -j 10

View file

@ -12,6 +12,6 @@ jobs:
- name: cmake
run: cmake -S . -B build
- name: build
run: cmake --build build
run: cmake --build build --parallel 10
- name: test
run: cd build ; ctest -j 10

View file

@ -12,6 +12,6 @@ jobs:
- name: cmake
run: cmake -S . -B build -G "Visual Studio 16 2019"
- name: build
run: cmake --build build
run: cmake --build build --parallel 10
- name: test
run: cd build ; ctest -j 10
run: cd build ; ctest -j 10 -C Release