7 Commits

Author SHA1 Message Date
9e16a1d140 ci: updating workflow with latest LFS options
All checks were successful
Create tag, test, build and upload / BumpTag (push) Successful in 9s
Create tag, test, build and upload / Test (editmode) (push) Successful in 1m12s
Create tag, test, build and upload / Test (playmode) (push) Successful in 1m5s
Create tag, test, build and upload / Test (standalone) (push) Successful in 1m35s
Create tag, test, build and upload / Build (StandaloneLinux64) (push) Successful in 3m11s
Create tag, test, build and upload / Build (StandaloneWindows) (push) Successful in 2m36s
Create tag, test, build and upload / Build (WebGL) (push) Successful in 4m17s
2025-06-19 09:07:00 +02:00
d2ae57cefd Merge branch 'main' of https://sgda.game-dev.space/SGDA/UnityExampleProject
All checks were successful
Create tag, test, build and upload / BumpTag (push) Successful in 10s
Create tag, test, build and upload / Test (editmode) (push) Successful in 4m42s
Create tag, test, build and upload / Test (playmode) (push) Successful in 1m2s
Create tag, test, build and upload / Test (standalone) (push) Successful in 1m25s
Create tag, test, build and upload / Build (StandaloneLinux64) (push) Successful in 2m33s
Create tag, test, build and upload / Build (StandaloneWindows) (push) Successful in 9m31s
Create tag, test, build and upload / Build (WebGL) (push) Successful in 11m35s
2025-06-18 22:52:14 +02:00
8be3bb39eb ci: setting the scene to build 2025-06-18 22:51:33 +02:00
b488cf05e5 ci: removing redundant build step in test modes
Some checks failed
Create tag, test, build and upload / Test (playmode) (push) Has been cancelled
Create tag, test, build and upload / Test (standalone) (push) Has been cancelled
Create tag, test, build and upload / Build (StandaloneLinux64) (push) Has been cancelled
Create tag, test, build and upload / Build (StandaloneWindows) (push) Has been cancelled
Create tag, test, build and upload / Build (WebGL) (push) Has been cancelled
Create tag, test, build and upload / BumpTag (push) Has been cancelled
Create tag, test, build and upload / Test (editmode) (push) Has been cancelled
2025-06-18 10:55:53 +00:00
bb4853484f ci: adding secrets
Some checks failed
Create tag, test, build and upload / BumpTag (push) Successful in 6s
Create tag, test, build and upload / Test (editmode) (push) Failing after 11m47s
Create tag, test, build and upload / Test (playmode) (push) Failing after 3m20s
Create tag, test, build and upload / Test (standalone) (push) Failing after 3m26s
Create tag, test, build and upload / Build (StandaloneLinux64) (push) Has been skipped
Create tag, test, build and upload / Build (StandaloneWindows) (push) Has been skipped
Create tag, test, build and upload / Build (WebGL) (push) Has been skipped
2025-06-18 10:30:13 +00:00
3d83af81ba ci: updated workflow to work on new Unity dedicated runner
Some checks failed
Create tag, test, build and upload / BumpTag (push) Successful in 6s
Create tag, test, build and upload / Test (editmode) (push) Failing after 54m25s
Create tag, test, build and upload / Test (playmode) (push) Failing after 5s
Create tag, test, build and upload / Test (standalone) (push) Failing after 5s
Create tag, test, build and upload / Build (StandaloneWindows) (push) Has been skipped
Create tag, test, build and upload / Build (StandaloneLinux64) (push) Has been skipped
Create tag, test, build and upload / Build (WebGL) (push) Has been skipped
2025-06-18 08:19:17 +00:00
7a38de0f64 ci: fixing runner name
Some checks failed
Create tag, test, build and upload / BumpTag (push) Successful in 5s
Create tag, test, build and upload / Test (playmode) (push) Has been cancelled
Create tag, test, build and upload / Test (standalone) (push) Has been cancelled
Create tag, test, build and upload / Build (StandaloneLinux64) (push) Has been cancelled
Create tag, test, build and upload / Build (StandaloneWindows) (push) Has been cancelled
Create tag, test, build and upload / Build (WebGL) (push) Has been cancelled
Create tag, test, build and upload / Test (editmode) (push) Has been cancelled
2025-06-17 17:04:01 +02:00
2 changed files with 20 additions and 31 deletions

View File

@ -32,7 +32,7 @@ jobs:
Test: Test:
name: Test name: Test
runs-on: ubuntu-latest runs-on: unity
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -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

View File

@ -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: {}