4949 - name : Extract project archive
5050 run : tar -xvzf test-project.tar.gz
5151
52- # - name: Build without Sentry SDK
53- # run: ./test/Scripts.Integration.Test/build-project.ps1 -UnityPath "${{ env.UNITY_PATH }}" -Platform "Android"
54-
5552 - name : Download UPM package
5653 uses : vaind/download-artifact@e7141b6a94ef28aa3d828b52830cfa1f406a1848
5754 with :
@@ -65,15 +62,12 @@ jobs:
6562 run : ./test/Scripts.Integration.Test/add-sentry.ps1 -UnityPath "${{ env.UNITY_PATH }}"
6663
6764 - name : Configure Sentry
68- run : ./test/Scripts.Integration.Test/configure-sentry.ps1 -UnityPath "${{ env.UNITY_PATH }}" -Platform "Android" -CheckSymbols
69-
70- - name : Export Project - Runtime
71- run : ./test/Scripts.Integration.Test/build-project.ps1 -UnityPath "${{ env.UNITY_PATH }}" -Platform "Android" -CheckSymbols:$true -UnityVersion "${{ inputs.unity-version }}"
65+ run : ./test/Scripts.Integration.Test/configure-sentry.ps1 -UnityPath "${{ env.UNITY_PATH }}" -Platform ${{ matrix.build_platform }} -CheckSymbols
7266
73- # - name: Build Gradle Project - Runtime
74- # run: ./scripts/smoke-test-android .ps1 Build -IsIntegrationTest -UnityVersion "${{ inputs.unity-version }}"
67+ - name : Export APK - Runtime Initialization
68+ run : ./test/Scripts.Integration.Test/build-project .ps1 -UnityPath "${{ env.UNITY_PATH }}" -Platform ${{ matrix.build_platform }} -CheckSymbols:$false -UnityVersion "${{ inputs.unity-version }}"
7569
76- - name : Upload app
70+ - name : Upload .apk
7771 uses : actions/upload-artifact@v4
7872 with :
7973 name : testapp-android-compiled-${{ inputs.unity-version }}-runtime
@@ -89,13 +83,10 @@ jobs:
8983 $content = $content -replace 'AndroidNativeInitializationType = NativeInitializationType.Runtime', 'AndroidNativeInitializationType = NativeInitializationType.BuildTime'
9084 Set-Content $optionsPath $content
9185
92- - name : Export Project - Build Time
86+ - name : Export APK - Build- Time Initialization
9387 run : ./test/Scripts.Integration.Test/build-project.ps1 -UnityPath "${{ env.UNITY_PATH }}" -Platform "Android" -CheckSymbols:$true -UnityVersion "${{ inputs.unity-version }}"
9488
95- # - name: Build Gradle Project - Build Time
96- # run: ./scripts/smoke-test-android.ps1 Build -IsIntegrationTest -UnityVersion "${{ inputs.unity-version }}"
97-
98- - name : Upload app
89+ - name : Upload .apk
9990 uses : actions/upload-artifact@v4
10091 with :
10192 name : testapp-android-compiled-${{ inputs.unity-version }}-buildtime
0 commit comments