From 77e0ba87506fc614b5dc23669d32902595beb4b4 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Tue, 12 May 2020 20:45:18 +0200 Subject: [PATCH] :construction_worker: parallelize builds --- .github/workflows/macos.yml | 2 +- .github/workflows/ubuntu.yml | 2 +- .github/workflows/windows.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 3647bc02..dbace9c3 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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 diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 902afc5b..77927966 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -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 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 3ba59059..d3fb8cbd 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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