Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
9e16a1d140 | |||
d2ae57cefd | |||
8be3bb39eb | |||
b488cf05e5 | |||
bb4853484f |
@ -42,13 +42,13 @@ jobs:
|
|||||||
- 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/**') }}
|
||||||
@ -60,9 +60,9 @@ jobs:
|
|||||||
uses: game-ci/unity-test-runner@v4
|
uses: game-ci/unity-test-runner@v4
|
||||||
id: tests
|
id: tests
|
||||||
env:
|
env:
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
UNITY_LICENSE: ${{ secrets.UNITYLICENSE }}
|
||||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
UNITY_EMAIL: ${{ secrets.UNITYEMAIL }}
|
||||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
UNITY_PASSWORD: ${{ secrets.UNITYPASSWORD }}
|
||||||
with:
|
with:
|
||||||
useHostNetwork: true
|
useHostNetwork: true
|
||||||
unityVersion: 2022.3.42f1
|
unityVersion: 2022.3.42f1
|
||||||
@ -85,20 +85,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: Coverage results for ${{ matrix.testMode }}
|
name: Coverage results for ${{ matrix.testMode }}
|
||||||
path: ${{ steps.tests.outputs.coveragePath }}
|
path: ${{ steps.tests.outputs.coveragePath }}
|
||||||
|
|
||||||
- name: Build project
|
|
||||||
uses: game-ci/unity-builder@v4
|
|
||||||
env:
|
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
|
||||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
|
||||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
|
||||||
with:
|
|
||||||
unityVersion: 2022.3.42f1
|
|
||||||
dockerCpuLimit: 4
|
|
||||||
dockerMemoryLimit: 8g
|
|
||||||
targetPlatform: StandaloneLinux64
|
|
||||||
allowDirtyBuild: true # necessary because the custom image doesn't fit the repo's version and it tries to change stuff accordingly ntm
|
|
||||||
customParameters: -BuildOptions.AutoRunPlayer true
|
|
||||||
|
|
||||||
Build:
|
Build:
|
||||||
name: Build
|
name: Build
|
||||||
@ -113,13 +99,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/**') }}
|
||||||
@ -130,9 +116,9 @@ jobs:
|
|||||||
- name: Build project
|
- name: Build project
|
||||||
uses: game-ci/unity-builder@v4
|
uses: game-ci/unity-builder@v4
|
||||||
env:
|
env:
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
UNITY_LICENSE: ${{ secrets.UNITYLICENSE }}
|
||||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
UNITY_EMAIL: ${{ secrets.UNITYEMAIL }}
|
||||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
UNITY_PASSWORD: ${{ secrets.UNITYPASSWORD }}
|
||||||
with:
|
with:
|
||||||
unityVersion: 2022.3.42f1
|
unityVersion: 2022.3.42f1
|
||||||
dockerCpuLimit: 4
|
dockerCpuLimit: 4
|
||||||
|
@ -4,5 +4,8 @@
|
|||||||
EditorBuildSettings:
|
EditorBuildSettings:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Scenes: []
|
m_Scenes:
|
||||||
|
- enabled: 1
|
||||||
|
path: Assets/Scenes/SampleScene.unity
|
||||||
|
guid: 9fc0d4010bbf28b4594072e72b8655ab
|
||||||
m_configObjects: {}
|
m_configObjects: {}
|
||||||
|
Reference in New Issue
Block a user