-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated to unity 2022.3.10 * runtime tools * Debug UI added to git and Spawn Point bug fix * Performance tuning and shader warning fixes * Mono only build * stash * collider exception fix * Struct of Arrays * Chunk Data Tests Added * Setter tests * Logging and Input Refactoring * Console improcements * Refactor * working * Data refactor and queue fix * Setter working * Empty Collider Fix Part 3 * Update Split * Fast Queue * Block Hit working * Place interaction added * ReMesh working * refactor * Accessor allocation removed * negative boundary chunk coords fixed * Setter result * refactor * CI updated * activation input removed * input added back
- Loading branch information
Showing
105 changed files
with
3,199 additions
and
1,113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,18 +10,16 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
linux: | ||
name: Build For Android | ||
build: | ||
name: Build For ${{ matrix.build.target }} | ||
timeout-minutes: 60 | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
buildMethod: | ||
- CodeBlaze.Editor.Build.Builder.BuildAndroidMonoRelease | ||
- CodeBlaze.Editor.Build.Builder.BuildAndroidIL2CPPRelease | ||
targetPlatform: | ||
- Android | ||
build: | ||
- { target: Android, method: CodeBlaze.Editor.Build.Builder.BuildAndroidRelease } | ||
- { target: StandaloneWindows64, method: CodeBlaze.Editor.Build.Builder.BuildWindowsRelease } | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
|
@@ -37,62 +35,21 @@ jobs: | |
Library-${{ matrix.targetPlatform }}- | ||
Library- | ||
- uses: game-ci/unity-builder@v2 | ||
env: | ||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | ||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | ||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | ||
with: | ||
targetPlatform: ${{ matrix.targetPlatform }} | ||
buildMethod: ${{ matrix.buildMethod }} | ||
- if: matrix.targetPlatform == 'Android' | ||
uses: jlumbroso/[email protected] | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: Build-${{ matrix.buildMethod }} | ||
path: | | ||
Build | ||
!**/*DoNotShip*/** | ||
!**/*ButDontShipItWithYourGame*/** | ||
windows: | ||
name: Build For Windows | ||
timeout-minutes: 60 | ||
runs-on: windows-2019 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
buildMethod: | ||
- CodeBlaze.Editor.Build.Builder.BuildWindowsMonoRelease | ||
- CodeBlaze.Editor.Build.Builder.BuildWindowsIL2CPPRelease | ||
targetPlatform: | ||
- StandaloneWindows64 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
lfs: true | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: Library | ||
key: | ||
Library-${{ matrix.targetPlatform }}-${{ hashFiles('.') }} | ||
restore-keys: | | ||
Library-${{ matrix.targetPlatform }}- | ||
Library- | ||
- uses: game-ci/unity-builder@v2 | ||
- uses: game-ci/unity-builder@v3 | ||
env: | ||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | ||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | ||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | ||
with: | ||
targetPlatform: ${{ matrix.targetPlatform }} | ||
buildMethod: ${{ matrix.buildMethod }} | ||
targetPlatform: ${{ matrix.build.target }} | ||
buildMethod: ${{ matrix.build.method }} | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: Build-${{ matrix.buildMethod }} | ||
name: Build-${{ matrix.build.target }} | ||
path: | | ||
Build | ||
!**/*DoNotShip*/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,51 +6,16 @@ on: | |
- "v*" | ||
|
||
jobs: | ||
package: | ||
name: Unity Package | ||
runs-on: ubuntu-latest | ||
build: | ||
name: Build For ${{ matrix.build.target }} | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
lfs: true | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: Library | ||
key: | ||
Library-${{ matrix.targetPlatform }}-${{ hashFiles('.') }} | ||
restore-keys: | | ||
Library-${{ matrix.targetPlatform }}- | ||
Library- | ||
- uses: game-ci/unity-builder@v2 | ||
env: | ||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | ||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | ||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | ||
with: | ||
targetPlatform: StandaloneLinux64 | ||
buildMethod: CodeBlaze.Editor.Build.Builder.Package | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: Package | ||
path: vloxyengine.unitypackage | ||
|
||
linux: | ||
name: Release Build For Android | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
buildMethod: | ||
- CodeBlaze.Editor.Build.Builder.BuildAndroidMonoRelease | ||
- CodeBlaze.Editor.Build.Builder.BuildAndroidIL2CPPRelease | ||
targetPlatform: | ||
- Android | ||
build: | ||
- { target: Android, method: CodeBlaze.Editor.Build.Builder.BuildAndroidRelease } | ||
- { target: StandaloneWindows64, method: CodeBlaze.Editor.Build.Builder.BuildWindowsRelease } | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
|
@@ -66,41 +31,36 @@ jobs: | |
Library-${{ matrix.targetPlatform }}- | ||
Library- | ||
- uses: game-ci/unity-builder@v2 | ||
- if: matrix.targetPlatform == 'Android' | ||
uses: jlumbroso/[email protected] | ||
|
||
- uses: game-ci/unity-builder@v3 | ||
env: | ||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | ||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | ||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | ||
with: | ||
targetPlatform: ${{ matrix.targetPlatform }} | ||
buildMethod: ${{ matrix.buildMethod }} | ||
targetPlatform: ${{ matrix.build.target }} | ||
buildMethod: ${{ matrix.build.method }} | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: Build-${{ matrix.buildMethod }} | ||
name: Build-${{ matrix.build.target }} | ||
path: | | ||
Build | ||
!**/*DoNotShip*/** | ||
!**/*ButDontShipItWithYourGame*/** | ||
windows: | ||
name: Release Build For Windows | ||
runs-on: windows-latest | ||
package: | ||
name: Unity Package | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
buildMethod: | ||
- CodeBlaze.Editor.Build.Builder.BuildWindowsMonoRelease | ||
- CodeBlaze.Editor.Build.Builder.BuildWindowsIL2CPPRelease | ||
targetPlatform: | ||
- StandaloneWindows64 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
lfs: true | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: Library | ||
|
@@ -109,28 +69,25 @@ jobs: | |
restore-keys: | | ||
Library-${{ matrix.targetPlatform }}- | ||
Library- | ||
- uses: game-ci/unity-builder@v2 | ||
- uses: game-ci/unity-builder@v3 | ||
env: | ||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | ||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | ||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | ||
with: | ||
targetPlatform: ${{ matrix.targetPlatform }} | ||
buildMethod: ${{ matrix.buildMethod }} | ||
targetPlatform: StandaloneLinux64 | ||
buildMethod: CodeBlaze.Editor.Build.Builder.Package | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: Build-${{ matrix.buildMethod }} | ||
path: | | ||
Build | ||
!**/*DoNotShip*/** | ||
!**/*ButDontShipItWithYourGame*/** | ||
name: Package | ||
path: vloxyengine.unitypackage | ||
|
||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
needs: [package, linux, windows] | ||
needs: [build] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
|
@@ -143,10 +100,8 @@ jobs: | |
|
||
- name: Zip artifacts | ||
run: | | ||
zip -r android-mono-${{ github.ref_name }}.zip artifacts/Build-CodeBlaze.Editor.Build.Builder.BuildAndroidMonoRelease/ | ||
zip -r android-il2cpp-${{ github.ref_name }}.zip artifacts/Build-CodeBlaze.Editor.Build.Builder.BuildAndroidIL2CPPRelease/ | ||
zip -r windows-mono-${{ github.ref_name }}.zip artifacts/Build-CodeBlaze.Editor.Build.Builder.BuildWindowsMonoRelease/ | ||
zip -r windows-il2cpp-${{ github.ref_name }}.zip artifacts/Build-CodeBlaze.Editor.Build.Builder.BuildWindowsIL2CPPRelease/ | ||
zip -r android-${{ github.ref_name }}.zip artifacts/Build-Android/ | ||
zip -r windows64-${{ github.ref_name }}.zip artifacts/Build-StandaloneWindows64/ | ||
- name: Move package | ||
run: mv artifacts/Package/vloxyengine.unitypackage vloxyengine-${{ github.ref_name }}.unitypackage | ||
|
@@ -173,7 +128,5 @@ jobs: | |
prerelease: false | ||
files: | | ||
vloxyengine-${{ github.ref_name }}.unitypackage | ||
android-mono-${{ github.ref_name }}.zip | ||
android-il2cpp-${{ github.ref_name }}.zip | ||
windows-mono-${{ github.ref_name }}.zip | ||
windows-il2cpp-${{ github.ref_name }}.zip | ||
android-${{ github.ref_name }}.zip | ||
windows64-${{ github.ref_name }}.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Test | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
name: Test in ${{ matrix.testMode }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
testMode: | ||
# - playmode | ||
- editmode | ||
# - standalone | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
lfs: true | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: ${{ matrix.projectPath }}/Library | ||
key: Library-${{ matrix.projectPath }} | ||
restore-keys: | | ||
Library- | ||
- uses: game-ci/unity-test-runner@v3 | ||
id: tests | ||
env: | ||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | ||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | ||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | ||
with: | ||
testMode: ${{ matrix.testMode }} | ||
artifactsPath: ${{ matrix.testMode }}-artifacts | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} | ||
checkName: ${{ matrix.testMode }} Test Results | ||
coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+my.assembly.*' | ||
|
||
- uses: actions/upload-artifact@v2 | ||
if: always() | ||
with: | ||
name: Test results for ${{ matrix.testMode }} | ||
path: ${{ steps.tests.outputs.artifactsPath }} | ||
|
||
- uses: actions/upload-artifact@v2 | ||
if: always() | ||
with: | ||
name: Coverage results for ${{ matrix.testMode }} | ||
path: ${{ steps.tests.outputs.coveragePath }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"recommendations": [ | ||
"visualstudiotoolsforunity.vstuc" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Attach to Unity", | ||
"type": "vstuc", | ||
"request": "attach" | ||
} | ||
] | ||
} |
Oops, something went wrong.