Fix: [CI] no need to build unit-tests for releases (#10759)

We don't run them anyway. And LTO can be darn slow.
This commit is contained in:
Patric Stout 2023-05-02 23:43:16 +02:00 committed by GitHub
parent 018a26d9b6
commit 62f9bdb939
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -124,7 +124,7 @@ jobs:
echo "::group::Build"
echo "Running on $(nproc) cores"
cmake --build . -j $(nproc)
cmake --build . -j $(nproc) --target openttd
echo "::endgroup::"
- name: Create bundles

View File

@ -107,7 +107,7 @@ jobs:
echo "::group::Build"
echo "Running on $(sysctl -n hw.logicalcpu) cores"
cmake --build . -j $(sysctl -n hw.logicalcpu)
cmake --build . -j $(sysctl -n hw.logicalcpu) --target openttd
echo "::endgroup::"
- name: Build x64
@ -130,7 +130,7 @@ jobs:
echo "::group::Build"
echo "Running on $(sysctl -n hw.logicalcpu) cores"
cmake --build . -j $(sysctl -n hw.logicalcpu)
cmake --build . -j $(sysctl -n hw.logicalcpu) --target openttd
echo "::endgroup::"
- name: Create bundles

View File

@ -133,7 +133,7 @@ jobs:
echo "::endgroup::"
echo "::group::Build"
cmake --build .
cmake --build . --target openttd
echo "::endgroup::"
env:
WINDOWS_CERTIFICATE_COMMON_NAME: ${{ secrets.WINDOWS_CERTIFICATE_COMMON_NAME }}
@ -157,7 +157,7 @@ jobs:
echo "::endgroup::"
echo "::group::Build"
cmake --build .
cmake --build . --target openttd
echo "::endgroup::"
env:
WINDOWS_CERTIFICATE_COMMON_NAME: ${{ secrets.WINDOWS_CERTIFICATE_COMMON_NAME }}