chore: use system logical core count for Ubuntu/macOS builds (#3602)

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
James Upjohn
2022-03-13 00:25:35 +13:00
committed by GitHub
parent 5a89acbe82
commit 0a12914e0d
2 changed files with 5 additions and 4 deletions
+4 -4
View File
@@ -153,7 +153,7 @@ jobs:
mkdir build
cd build
qmake PREFIX=/usr ..
make -j8
make -j$(nproc)
shell: bash
- name: Build with CMake (Ubuntu)
@@ -167,7 +167,7 @@ jobs:
-DPAJLADA_SETTINGS_USE_BOOST_FILESYSTEM=On \
-DUSE_PRECOMPILED_HEADERS=${{ matrix.pch }} \
..
make -j8
make -j$(nproc)
shell: bash
- name: Package - AppImage (Ubuntu)
@@ -211,7 +211,7 @@ jobs:
mkdir build
cd build
$Qt5_DIR/bin/qmake .. DEFINES+=$dateOfBuild
make -j8
make -j$(sysctl -n hw.logicalcpu)
shell: bash
- name: Build with CMake (MacOS)
@@ -224,7 +224,7 @@ jobs:
-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl \
-DUSE_PRECOMPILED_HEADERS=${{ matrix.pch }} \
..
make -j8
make -j$(sysctl -n hw.logicalcpu)
shell: bash
- name: Package (MacOS)