-
-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
3,192 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# Required secrets | ||
# UNITY_LICENSE: The contents of Unity license file | ||
# UNITY_EMAIL: Unity user email to login | ||
# UNITY_PASSWORD: Unity user password to login | ||
name: 🧪 Test URP | ||
run-name: 🧪 Test URP (${{ github.ref_name }}) | ||
|
||
env: | ||
# MINIMUM_VERSION: The minimum version of Unity. | ||
MINIMUM_VERSION: 2023.1 | ||
# EXCLUDE_FILTER: The excluded versions of Unity. | ||
EXCLUDE_FILTER: '(2020.2.0|2021.1|2023.3)' | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- develop | ||
- develop-preview | ||
tags: | ||
- "!*" | ||
paths-ignore: | ||
- "*.md" | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
jobs: | ||
setup: | ||
name: ⚙️ Setup | ||
runs-on: ubuntu-latest | ||
outputs: | ||
unityVersions: ${{ steps.setup.outputs.unityVersions }} | ||
steps: | ||
- name: ⚙️ Find target Unity versions | ||
id: setup | ||
run: | | ||
echo "==== Target Unity Versions ====" | ||
LATEST_VERSIONS=`npx unity-changeset list --versions --latest-patch --min ${MINIMUM_VERSION} --json --all` | ||
# ADDITIONAL_VERSIONS=`npx unity-changeset list --versions --grep '0f' --min ${MINIMUM_VERSION} --json` | ||
ADDITIONAL_VERSIONS=[] | ||
VERSIONS=`echo "[${LATEST_VERSIONS}, ${ADDITIONAL_VERSIONS}]" \ | ||
| jq -c '[ flatten | sort | unique | .[] | select( test("${{ env.EXCLUDE_FILTER }}") | not ) ]'` | ||
echo "unityVersions=${VERSIONS}" | tee $GITHUB_OUTPUT | ||
test: | ||
name: 🧪 Run tests | ||
runs-on: ubuntu-latest | ||
env: | ||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | ||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | ||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | ||
permissions: | ||
checks: write | ||
contents: read | ||
needs: setup | ||
strategy: | ||
fail-fast: false | ||
max-parallel: 4 | ||
matrix: | ||
unityVersion: ${{ fromJson(needs.setup.outputs.unityVersions) }} | ||
steps: | ||
- name: 🚚 Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: 📥 Cache library | ||
uses: actions/cache@v4 | ||
with: | ||
path: UniversalTestProject/Library | ||
key: UniversalTestProject-Library-${{ matrix.unityVersion }}-${{ github.sha }} | ||
restore-keys: | | ||
UniversalTestProject-Library-${{ matrix.unityVersion }}- | ||
UniversalTestProject-Library- | ||
- name: 🛠️ Build Unity Project | ||
uses: game-ci/unity-builder@v4 | ||
timeout-minutes: 45 | ||
with: | ||
customImage: ghcr.io/mob-sakai/unity3d:${{ matrix.unityVersion }} | ||
targetPlatform: StandaloneLinux64 | ||
allowDirtyBuild: true | ||
customParameters: -nographics | ||
projectPath: UniversalTestProject |
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,29 @@ | ||
# Windows | ||
Thumbs.db | ||
Desktop.ini | ||
/*.csproj | ||
/*.sln | ||
|
||
# macOS | ||
.DS_Store | ||
|
||
# Vim | ||
*.swp | ||
|
||
# Unity | ||
/Logs | ||
/Library | ||
/Temp | ||
Assets/Plugins.meta | ||
Assets/Plugins/ | ||
|
||
# VS | ||
.vs/ | ||
.vscode/ | ||
.idea/ | ||
obj/ | ||
bin/ | ||
UserSettings/ | ||
*.app/ | ||
Build/ | ||
Assets/TextMeshPro Support* |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
125 changes: 125 additions & 0 deletions
125
UniversalTestProject/Assets/ProjectSettings/New Universal Render Pipeline Asset.asset
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,125 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!114 &11400000 | ||
MonoBehaviour: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 0} | ||
m_Enabled: 1 | ||
m_EditorHideFlags: 0 | ||
m_Script: {fileID: 11500000, guid: bf2edee5c58d82540a51f03df9d42094, type: 3} | ||
m_Name: New Universal Render Pipeline Asset | ||
m_EditorClassIdentifier: | ||
k_AssetVersion: 11 | ||
k_AssetPreviousVersion: 11 | ||
m_RendererType: 1 | ||
m_RendererData: {fileID: 0} | ||
m_RendererDataList: | ||
- {fileID: 11400000, guid: b49879f926a5d493d9fc674f1d84b692, type: 2} | ||
m_DefaultRendererIndex: 0 | ||
m_RequireDepthTexture: 0 | ||
m_RequireOpaqueTexture: 0 | ||
m_OpaqueDownsampling: 1 | ||
m_SupportsTerrainHoles: 1 | ||
m_SupportsHDR: 1 | ||
m_HDRColorBufferPrecision: 0 | ||
m_MSAA: 1 | ||
m_RenderScale: 1 | ||
m_UpscalingFilter: 0 | ||
m_FsrOverrideSharpness: 0 | ||
m_FsrSharpness: 0.92 | ||
m_EnableLODCrossFade: 1 | ||
m_LODCrossFadeDitheringType: 1 | ||
m_ShEvalMode: 0 | ||
m_LightProbeSystem: 0 | ||
m_ProbeVolumeMemoryBudget: 1024 | ||
m_SupportProbeVolumeStreaming: 0 | ||
m_ProbeVolumeSHBands: 1 | ||
m_MainLightRenderingMode: 1 | ||
m_MainLightShadowsSupported: 1 | ||
m_MainLightShadowmapResolution: 2048 | ||
m_AdditionalLightsRenderingMode: 1 | ||
m_AdditionalLightsPerObjectLimit: 4 | ||
m_AdditionalLightShadowsSupported: 0 | ||
m_AdditionalLightsShadowmapResolution: 2048 | ||
m_AdditionalLightsShadowResolutionTierLow: 256 | ||
m_AdditionalLightsShadowResolutionTierMedium: 512 | ||
m_AdditionalLightsShadowResolutionTierHigh: 1024 | ||
m_ReflectionProbeBlending: 0 | ||
m_ReflectionProbeBoxProjection: 0 | ||
m_ShadowDistance: 50 | ||
m_ShadowCascadeCount: 1 | ||
m_Cascade2Split: 0.25 | ||
m_Cascade3Split: {x: 0.1, y: 0.3} | ||
m_Cascade4Split: {x: 0.067, y: 0.2, z: 0.467} | ||
m_CascadeBorder: 0.2 | ||
m_ShadowDepthBias: 1 | ||
m_ShadowNormalBias: 1 | ||
m_AnyShadowsSupported: 1 | ||
m_SoftShadowsSupported: 0 | ||
m_ConservativeEnclosingSphere: 1 | ||
m_NumIterationsEnclosingSphere: 64 | ||
m_SoftShadowQuality: 2 | ||
m_AdditionalLightsCookieResolution: 2048 | ||
m_AdditionalLightsCookieFormat: 3 | ||
m_UseSRPBatcher: 1 | ||
m_SupportsDynamicBatching: 0 | ||
m_MixedLightingSupported: 1 | ||
m_SupportsLightCookies: 1 | ||
m_SupportsLightLayers: 0 | ||
m_DebugLevel: 0 | ||
m_StoreActionsOptimization: 0 | ||
m_EnableRenderGraph: 0 | ||
m_UseAdaptivePerformance: 1 | ||
m_ColorGradingMode: 0 | ||
m_ColorGradingLutSize: 32 | ||
m_UseFastSRGBLinearConversion: 0 | ||
m_SupportDataDrivenLensFlare: 1 | ||
m_SupportScreenSpaceLensFlare: 1 | ||
m_ShadowType: 1 | ||
m_LocalShadowsSupported: 0 | ||
m_LocalShadowsAtlasResolution: 256 | ||
m_MaxPixelLights: 0 | ||
m_ShadowAtlasResolution: 256 | ||
m_VolumeFrameworkUpdateMode: 0 | ||
m_Textures: | ||
blueNoise64LTex: {fileID: 2800000, guid: e3d24661c1e055f45a7560c033dbb837, type: 3} | ||
bayerMatrixTex: {fileID: 2800000, guid: f9ee4ed84c1d10c49aabb9b210b0fc44, type: 3} | ||
apvScenesData: | ||
m_ObsoleteSerializedBakingSets: [] | ||
serializedBounds: [] | ||
serializedHasVolumes: [] | ||
bakingSets: [] | ||
m_LightingScenario: | ||
m_PrefilteringModeMainLightShadows: 1 | ||
m_PrefilteringModeAdditionalLight: 4 | ||
m_PrefilteringModeAdditionalLightShadows: 1 | ||
m_PrefilterXRKeywords: 0 | ||
m_PrefilteringModeForwardPlus: 1 | ||
m_PrefilteringModeDeferredRendering: 1 | ||
m_PrefilteringModeScreenSpaceOcclusion: 1 | ||
m_PrefilterDebugKeywords: 0 | ||
m_PrefilterWriteRenderingLayers: 0 | ||
m_PrefilterHDROutput: 0 | ||
m_PrefilterSSAODepthNormals: 0 | ||
m_PrefilterSSAOSourceDepthLow: 0 | ||
m_PrefilterSSAOSourceDepthMedium: 0 | ||
m_PrefilterSSAOSourceDepthHigh: 0 | ||
m_PrefilterSSAOInterleaved: 0 | ||
m_PrefilterSSAOBlueNoise: 0 | ||
m_PrefilterSSAOSampleCountLow: 0 | ||
m_PrefilterSSAOSampleCountMedium: 0 | ||
m_PrefilterSSAOSampleCountHigh: 0 | ||
m_PrefilterDBufferMRT1: 0 | ||
m_PrefilterDBufferMRT2: 0 | ||
m_PrefilterDBufferMRT3: 0 | ||
m_PrefilterSoftShadowsQualityLow: 0 | ||
m_PrefilterSoftShadowsQualityMedium: 0 | ||
m_PrefilterSoftShadowsQualityHigh: 0 | ||
m_PrefilterSoftShadows: 0 | ||
m_PrefilterScreenCoord: 0 | ||
m_PrefilterNativeRenderPass: 0 | ||
m_ShaderVariantLogLevel: 0 | ||
m_ShadowCascades: 0 |
8 changes: 8 additions & 0 deletions
8
UniversalTestProject/Assets/ProjectSettings/New Universal Render Pipeline Asset.asset.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
78 changes: 78 additions & 0 deletions
78
...rsalTestProject/Assets/ProjectSettings/New Universal Render Pipeline Asset_Renderer.asset
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,78 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!114 &11400000 | ||
MonoBehaviour: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 0} | ||
m_Enabled: 1 | ||
m_EditorHideFlags: 0 | ||
m_Script: {fileID: 11500000, guid: de640fe3d0db1804a85f9fc8f5cadab6, type: 3} | ||
m_Name: New Universal Render Pipeline Asset_Renderer | ||
m_EditorClassIdentifier: | ||
debugShaders: | ||
debugReplacementPS: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7, | ||
type: 3} | ||
hdrDebugViewPS: {fileID: 4800000, guid: 573620ae32aec764abd4d728906d2587, type: 3} | ||
probeVolumeSamplingDebugComputeShader: {fileID: 7200000, guid: 53626a513ea68ce47b59dc1299fe3959, | ||
type: 3} | ||
probeVolumeResources: | ||
probeVolumeDebugShader: {fileID: 4800000, guid: e5c6678ed2aaa91408dd3df699057aae, | ||
type: 3} | ||
probeVolumeFragmentationDebugShader: {fileID: 4800000, guid: 03cfc4915c15d504a9ed85ecc404e607, | ||
type: 3} | ||
probeVolumeOffsetDebugShader: {fileID: 4800000, guid: 53a11f4ebaebf4049b3638ef78dc9664, | ||
type: 3} | ||
probeVolumeSamplingDebugShader: {fileID: 4800000, guid: 8f96cd657dc40064aa21efcc7e50a2e7, | ||
type: 3} | ||
probeSamplingDebugMesh: {fileID: -3555484719484374845, guid: 57d7c4c16e2765b47a4d2069b311bffe, | ||
type: 3} | ||
probeSamplingDebugTexture: {fileID: 2800000, guid: 24ec0e140fb444a44ab96ee80844e18e, | ||
type: 3} | ||
m_RendererFeatures: [] | ||
m_RendererFeatureMap: | ||
m_UseNativeRenderPass: 0 | ||
postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2} | ||
shaders: | ||
blitPS: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3} | ||
copyDepthPS: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3} | ||
screenSpaceShadowPS: {fileID: 0} | ||
samplingPS: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3} | ||
stencilDeferredPS: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, type: 3} | ||
fallbackErrorPS: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3} | ||
fallbackLoadingPS: {fileID: 4800000, guid: 7f888aff2ac86494babad1c2c5daeee2, type: 3} | ||
materialErrorPS: {fileID: 0} | ||
coreBlitPS: {fileID: 4800000, guid: 93446b5c5339d4f00b85c159e1159b7c, type: 3} | ||
coreBlitColorAndDepthPS: {fileID: 4800000, guid: d104b2fc1ca6445babb8e90b0758136b, | ||
type: 3} | ||
blitHDROverlay: {fileID: 4800000, guid: a89bee29cffa951418fc1e2da94d1959, type: 3} | ||
cameraMotionVector: {fileID: 4800000, guid: c56b7e0d4c7cb484e959caeeedae9bbf, | ||
type: 3} | ||
objectMotionVector: {fileID: 4800000, guid: 7b3ede40266cd49a395def176e1bc486, | ||
type: 3} | ||
screenSpaceLensFlare: {fileID: 4800000, guid: 701880fecb344ea4c9cd0db3407ab287, | ||
type: 3} | ||
dataDrivenLensFlare: {fileID: 4800000, guid: 6cda457ac28612740adb23da5d39ea92, | ||
type: 3} | ||
m_AssetVersion: 2 | ||
m_OpaqueLayerMask: | ||
serializedVersion: 2 | ||
m_Bits: 4294967295 | ||
m_TransparentLayerMask: | ||
serializedVersion: 2 | ||
m_Bits: 4294967295 | ||
m_DefaultStencilState: | ||
overrideStencilState: 0 | ||
stencilReference: 0 | ||
stencilCompareFunction: 8 | ||
passOperation: 2 | ||
failOperation: 0 | ||
zFailOperation: 0 | ||
m_ShadowTransparentReceive: 1 | ||
m_RenderingMode: 0 | ||
m_DepthPrimingMode: 0 | ||
m_CopyDepthMode: 1 | ||
m_AccurateGbufferNormals: 0 | ||
m_IntermediateTextureMode: 1 |
8 changes: 8 additions & 0 deletions
8
...estProject/Assets/ProjectSettings/New Universal Render Pipeline Asset_Renderer.asset.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
UniversalTestProject/Assets/ProjectSettings/UISoftMask.asset
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,22 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!114 &11400000 | ||
MonoBehaviour: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 0} | ||
m_Enabled: 1 | ||
m_EditorHideFlags: 0 | ||
m_Script: {fileID: 11500000, guid: eb5b5e33068c14a2bacdd6575e94f505, type: 3} | ||
m_Name: UISoftMask | ||
m_EditorClassIdentifier: | ||
m_SoftMaskEnabled: 1 | ||
m_StereoEnabled: 1 | ||
m_FallbackBehavior: 0 | ||
m_TransformSensitivity: 1 | ||
m_UseStencilOutsideScreen: 1 | ||
m_HideGeneratedComponents: 1 | ||
m_AutoIncludeShaders: 1 | ||
m_StripShaderVariants: 1 |
8 changes: 8 additions & 0 deletions
8
UniversalTestProject/Assets/ProjectSettings/UISoftMask.asset.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.