aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Chernyshchyk <genaloner@gmail.com>2021-10-03 11:58:31 +0300
committerHennadii Chernyshchyk <genaloner@gmail.com>2021-10-03 12:03:46 +0300
commit307ffb2811f43a17b22fb02d0153a4e6b5dbc0cd (patch)
treed108c5489455bc61386a6a671d6fa08a30c3618f
parentRename build-cmake.yml to build.yml (diff)
downloadsingleapplication-307ffb2811f43a17b22fb02d0153a4e6b5dbc0cd.tar.xz
Use multiply cores
https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
-rw-r--r--.github/workflows/build.yml4
1 files changed, 4 insertions, 0 deletions
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