From 307ffb2811f43a17b22fb02d0153a4e6b5dbc0cd Mon Sep 17 00:00:00 2001 From: Hennadii Chernyshchyk Date: Sun, 3 Oct 2021 11:58:31 +0300 Subject: [PATCH] Use multiply cores https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e97e4ac..fac7c6e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,14 +18,18 @@ jobs: additional_arguments: -D QT_DEFAULT_MAJOR_VERSION=6 - platform: ubuntu-20.04 CXXFLAGS: -Wall -Wextra -pedantic -Werror + MAKEFLAGS: -j2 - platform: macos-latest CXXFLAGS: -Wall -Wextra -pedantic -Werror + MAKEFLAGS: -j3 - platform: windows-latest CXXFLAGS: /W4 /WX + MAKEFLAGS: /m runs-on: ${{ matrix.platform }} env: CXXFLAGS: ${{ matrix.CXXFLAGS }} + MAKEFLAGS: ${{ matrix.MAKEFLAGS }} steps: - name: Clone repo