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