Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
163c42c999 | |||
24e6a73eb9 | |||
02ddb73665 |
@ -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
|
# - name: Checkout with LFS
|
||||||
uses: actions/checkout@v4
|
# uses: https://git.game-dev.space/minimata/checkout-lfs.git@main
|
||||||
with:
|
# with:
|
||||||
lfs: true
|
# checkout-version: 4
|
||||||
|
#
|
||||||
# Cache
|
# # Cache
|
||||||
- uses: actions/cache@v3
|
# - 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
|
||||||
@ -98,13 +98,13 @@ jobs:
|
|||||||
- StandaloneWindows # Build a Windows 64-bit standalone.
|
- StandaloneWindows # Build a Windows 64-bit standalone.
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout with LFS
|
||||||
uses: actions/checkout@v4
|
uses: https://git.game-dev.space/minimata/checkout-lfs.git@main
|
||||||
with:
|
with:
|
||||||
lfs: true
|
checkout-version: 4
|
||||||
|
|
||||||
# Cache
|
# Cache
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: Library
|
path: Library
|
||||||
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
|
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
|
||||||
|
@ -5,13 +5,10 @@
|
|||||||
"com.unity.ide.rider": "3.0.36",
|
"com.unity.ide.rider": "3.0.36",
|
||||||
"com.unity.ide.visualstudio": "2.0.23",
|
"com.unity.ide.visualstudio": "2.0.23",
|
||||||
"com.unity.inputsystem": "1.14.0",
|
"com.unity.inputsystem": "1.14.0",
|
||||||
"com.unity.multiplayer.center": "1.0.0",
|
|
||||||
"com.unity.render-pipelines.universal": "17.1.0",
|
"com.unity.render-pipelines.universal": "17.1.0",
|
||||||
"com.unity.test-framework": "1.5.1",
|
|
||||||
"com.unity.timeline": "1.8.7",
|
"com.unity.timeline": "1.8.7",
|
||||||
"com.unity.ugui": "2.0.0",
|
"com.unity.ugui": "2.0.0",
|
||||||
"com.unity.visualscripting": "1.9.7",
|
"com.unity.visualscripting": "1.9.7",
|
||||||
"com.unity.modules.accessibility": "1.0.0",
|
|
||||||
"com.unity.modules.ai": "1.0.0",
|
"com.unity.modules.ai": "1.0.0",
|
||||||
"com.unity.modules.androidjni": "1.0.0",
|
"com.unity.modules.androidjni": "1.0.0",
|
||||||
"com.unity.modules.animation": "1.0.0",
|
"com.unity.modules.animation": "1.0.0",
|
||||||
|
@ -32,8 +32,8 @@
|
|||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"com.unity.burst": "1.8.17",
|
"com.unity.burst": "1.8.17",
|
||||||
"com.unity.nuget.mono-cecil": "1.11.4",
|
|
||||||
"com.unity.test-framework": "1.4.5",
|
"com.unity.test-framework": "1.4.5",
|
||||||
|
"com.unity.nuget.mono-cecil": "1.11.4",
|
||||||
"com.unity.test-framework.performance": "3.0.3"
|
"com.unity.test-framework.performance": "3.0.3"
|
||||||
},
|
},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
@ -78,14 +78,6 @@
|
|||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.multiplayer.center": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.uielements": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.nuget.mono-cecil": {
|
"com.unity.nuget.mono-cecil": {
|
||||||
"version": "1.11.4",
|
"version": "1.11.4",
|
||||||
"depth": 3,
|
"depth": 3,
|
||||||
@ -154,7 +146,7 @@
|
|||||||
},
|
},
|
||||||
"com.unity.test-framework": {
|
"com.unity.test-framework": {
|
||||||
"version": "1.5.1",
|
"version": "1.5.1",
|
||||||
"depth": 0,
|
"depth": 1,
|
||||||
"source": "builtin",
|
"source": "builtin",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"com.unity.ext.nunit": "2.0.3",
|
"com.unity.ext.nunit": "2.0.3",
|
||||||
@ -177,9 +169,9 @@
|
|||||||
"depth": 0,
|
"depth": 0,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"com.unity.modules.audio": "1.0.0",
|
||||||
"com.unity.modules.director": "1.0.0",
|
"com.unity.modules.director": "1.0.0",
|
||||||
"com.unity.modules.animation": "1.0.0",
|
"com.unity.modules.animation": "1.0.0",
|
||||||
"com.unity.modules.audio": "1.0.0",
|
|
||||||
"com.unity.modules.particlesystem": "1.0.0"
|
"com.unity.modules.particlesystem": "1.0.0"
|
||||||
},
|
},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
@ -203,12 +195,6 @@
|
|||||||
},
|
},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.modules.accessibility": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.ai": {
|
"com.unity.modules.ai": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"depth": 0,
|
"depth": 0,
|
||||||
|
Reference in New Issue
Block a user