Changeset - r27227:fb6db1b1e1a6
[Not reviewed]
master
0 3 0
Patric Stout - 13 months ago 2023-05-02 21:43:16
truebrain@openttd.org
Fix: [CI] no need to build unit-tests for releases (#10759)

We don't run them anyway. And LTO can be darn slow.
3 files changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
.github/workflows/release-linux.yml
Show inline comments
 
@@ -121,13 +121,13 @@ jobs:
 
          -DOPTION_PACKAGE_DEPENDENCIES=ON \
 
          # EOF
 
        echo "::endgroup::"
 

	
 
        echo "::group::Build"
 
        echo "Running on $(nproc) cores"
 
        cmake --build . -j $(nproc)
 
        cmake --build . -j $(nproc) --target openttd
 
        echo "::endgroup::"
 

	
 
    - name: Create bundles
 
      run: |
 
        cd ${GITHUB_WORKSPACE}/build
 
        echo "::group::Run CPack"
.github/workflows/release-macos.yml
Show inline comments
 
@@ -104,13 +104,13 @@ jobs:
 
          -DCMAKE_BUILD_TYPE=RelWithDebInfo \
 
          # EOF
 
        echo "::endgroup::"
 

	
 
        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
 
      run: |
 
        mkdir build-x64
 
        cd build-x64
 
@@ -127,13 +127,13 @@ jobs:
 
          -DAPPLE_UNIVERSAL_PACKAGE=1 \
 
          # EOF
 
        echo "::endgroup::"
 

	
 
        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
 
      run: |
 
        cd build-x64
 

	
.github/workflows/release-windows.yml
Show inline comments
 
@@ -130,13 +130,13 @@ jobs:
 
          -DCMAKE_BUILD_TYPE=RelWithDebInfo \
 
          -DWINDOWS_CERTIFICATE_COMMON_NAME="${WINDOWS_CERTIFICATE_COMMON_NAME}" \
 
          # EOF
 
        echo "::endgroup::"
 

	
 
        echo "::group::Build"
 
        cmake --build .
 
        cmake --build . --target openttd
 
        echo "::endgroup::"
 
      env:
 
        WINDOWS_CERTIFICATE_COMMON_NAME: ${{ secrets.WINDOWS_CERTIFICATE_COMMON_NAME }}
 

	
 
    - name: Build (without installer)
 
      if: inputs.is_tag != 'true'
 
@@ -154,13 +154,13 @@ jobs:
 
          -DCMAKE_BUILD_TYPE=RelWithDebInfo \
 
          -DWINDOWS_CERTIFICATE_COMMON_NAME="${WINDOWS_CERTIFICATE_COMMON_NAME}" \
 
          # EOF
 
        echo "::endgroup::"
 

	
 
        echo "::group::Build"
 
        cmake --build .
 
        cmake --build . --target openttd
 
        echo "::endgroup::"
 
      env:
 
        WINDOWS_CERTIFICATE_COMMON_NAME: ${{ secrets.WINDOWS_CERTIFICATE_COMMON_NAME }}
 

	
 
    - name: Create bundles
 
      shell: bash
0 comments (0 inline, 0 general)