Utilize new CPUs with more cores (#4988)
This commit is contained in:
parent
7c1095ea50
commit
90e1a3cb76
1 changed files with 5 additions and 4 deletions
9
.github/workflows/desktop-build.yml
vendored
9
.github/workflows/desktop-build.yml
vendored
|
@ -158,7 +158,7 @@ jobs:
|
||||||
distro: '${{matrix.distro}}'
|
distro: '${{matrix.distro}}'
|
||||||
run: |
|
run: |
|
||||||
source .ci/docker.sh
|
source .ci/docker.sh
|
||||||
RUN --server --debug --test --ccache "$CCACHE_SIZE" --parallel 2
|
RUN --server --debug --test --ccache "$CCACHE_SIZE" --parallel 4
|
||||||
|
|
||||||
- name: Build release package
|
- name: Build release package
|
||||||
id: build
|
id: build
|
||||||
|
@ -172,7 +172,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
source .ci/docker.sh
|
source .ci/docker.sh
|
||||||
RUN --server --release --package "$type" --dir "$BUILD_DIR" \
|
RUN --server --release --package "$type" --dir "$BUILD_DIR" \
|
||||||
--ccache "$CCACHE_SIZE" --parallel 2
|
--ccache "$CCACHE_SIZE" --parallel 4
|
||||||
.ci/name_build.sh
|
.ci/name_build.sh
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
|
@ -277,7 +277,8 @@ jobs:
|
||||||
MAKE_TEST: '${{matrix.do_tests}}'
|
MAKE_TEST: '${{matrix.do_tests}}'
|
||||||
MAKE_PACKAGE: '${{matrix.make_package}}'
|
MAKE_PACKAGE: '${{matrix.make_package}}'
|
||||||
PACKAGE_SUFFIX: '-macOS-${{matrix.target}}'
|
PACKAGE_SUFFIX: '-macOS-${{matrix.target}}'
|
||||||
# Mac machines actually have 3 cores
|
# macOS runner actually have only 3 cores
|
||||||
|
# See https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
|
||||||
run: .ci/compile.sh --server --parallel 3
|
run: .ci/compile.sh --server --parallel 3
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
|
@ -357,7 +358,7 @@ jobs:
|
||||||
CMAKE_GENERATOR: '${{env.CMAKE_GENERATOR}}'
|
CMAKE_GENERATOR: '${{env.CMAKE_GENERATOR}}'
|
||||||
CMAKE_GENERATOR_PLATFORM: 'x64'
|
CMAKE_GENERATOR_PLATFORM: 'x64'
|
||||||
QTDIR: '${{github.workspace}}\Qt\${{matrix.qt_version}}\win64_${{matrix.qt_arch}}'
|
QTDIR: '${{github.workspace}}\Qt\${{matrix.qt_version}}\win64_${{matrix.qt_arch}}'
|
||||||
run: .ci/compile.sh --server --release --test --package --parallel 2
|
run: .ci/compile.sh --server --release --test --package --parallel 4
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
Loading…
Reference in a new issue