ci: trying plain build
Some checks failed
Create tag, test, build and upload / BumpTag (push) Successful in 7s
Create tag, test, build and upload / Build (StandaloneLinux64) (push) Failing after 23m12s
Create tag, test, build and upload / Build (StandaloneWindows) (push) Failing after 23m4s
Create tag, test, build and upload / Build (WebGL) (push) Failing after 23m11s

This commit is contained in:
2025-06-19 10:17:47 +02:00
parent 24e6a73eb9
commit 163c42c999

View File

@ -29,65 +29,65 @@ jobs:
PRERELEASE: false
INITIAL_VERSION: 0.1.0
Test:
name: Test
runs-on: unity
strategy:
fail-fast: false
matrix:
testMode:
- playmode
- editmode
- standalone
steps:
- name: Checkout with LFS
uses: https://git.game-dev.space/minimata/checkout-lfs.git@main
with:
checkout-version: 4
# Cache
- uses: actions/cache@v4
with:
path: Library
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
restore-keys: |
Library-
# Test
- name: Run tests
uses: game-ci/unity-test-runner@v4
id: tests
env:
UNITY_LICENSE: ${{ secrets.UNITYLICENSE }}
UNITY_EMAIL: ${{ secrets.UNITYEMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITYPASSWORD }}
with:
useHostNetwork: true
unityVersion: 2022.3.42f1
customImage: 'unityci/editor:ubuntu-2022.3.42f1-linux-il2cpp-3'
dockerCpuLimit: 4
dockerMemoryLimit: 8g
testMode: ${{ matrix.testMode }}
artifactsPath: ${{ matrix.testMode }}-artifacts
checkName: ${{ matrix.testMode }} Test Results
customParameters: -testCategory "!AltTester"
- name: Upload test results
uses: actions/upload-artifact@v3
if: always()
with:
name: Test results for ${{ matrix.testMode }}
path: ${{ steps.tests.outputs.artifactsPath }}
- name: Upload test coverage
uses: actions/upload-artifact@v3
if: always()
with:
name: Coverage results for ${{ matrix.testMode }}
path: ${{ steps.tests.outputs.coveragePath }}
# Test:
# name: Test
# runs-on: unity
# strategy:
# fail-fast: false
# matrix:
# testMode:
# - playmode
# - editmode
# - standalone
#
# steps:
# - name: Checkout with LFS
# uses: https://git.game-dev.space/minimata/checkout-lfs.git@main
# with:
# checkout-version: 4
#
# # Cache
# - uses: actions/cache@v4
# with:
# path: Library
# key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
# restore-keys: |
# Library-
#
# # Test
# - name: Run tests
# uses: game-ci/unity-test-runner@v4
# id: tests
# env:
# UNITY_LICENSE: ${{ secrets.UNITYLICENSE }}
# UNITY_EMAIL: ${{ secrets.UNITYEMAIL }}
# UNITY_PASSWORD: ${{ secrets.UNITYPASSWORD }}
# with:
# useHostNetwork: true
# unityVersion: 2022.3.42f1
# customImage: 'unityci/editor:ubuntu-2022.3.42f1-linux-il2cpp-3'
# dockerCpuLimit: 4
# dockerMemoryLimit: 8g
# testMode: ${{ matrix.testMode }}
# artifactsPath: ${{ matrix.testMode }}-artifacts
# checkName: ${{ matrix.testMode }} Test Results
# customParameters: -testCategory "!AltTester"
# - name: Upload test results
# uses: actions/upload-artifact@v3
# if: always()
# with:
# name: Test results for ${{ matrix.testMode }}
# path: ${{ steps.tests.outputs.artifactsPath }}
# - name: Upload test coverage
# uses: actions/upload-artifact@v3
# if: always()
# with:
# name: Coverage results for ${{ matrix.testMode }}
# path: ${{ steps.tests.outputs.coveragePath }}
Build:
name: Build
needs: Test
# needs: Test
runs-on: unity
strategy:
fail-fast: false