-
-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
Description
Currently, the SDK is using the create-project.ps1 script to create a new, empty project.
This is part of the main CI:
sentry-unity/.github/workflows/ci.yml
Lines 83 to 93 in f770e6c
| smoke-test-create: | |
| name: Create ${{ matrix.unity-version }} Smoke Test Project | |
| if: ${{ !startsWith(github.ref, 'refs/heads/release/') }} | |
| secrets: inherit | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| unity-version: ["2019", "2022", "6000"] | |
| uses: ./.github/workflows/smoke-test-create.yml | |
| with: | |
| unity-version: ${{ matrix.unity-version }} |
calling into
| run: ./test/Scripts.Integration.Test/create-project.ps1 -UnityPath "${{ env.UNITY_PATH }}" |
This is followed by building the project which contains a few steps for downloading, installing, setting up.
sentry-unity/.github/workflows/ci.yml
Lines 162 to 178 in f770e6c
| - name: Download UPM package | |
| uses: vaind/download-artifact@e7141b6a94ef28aa3d828b52830cfa1f406a1848 # v4-with-wait-timeout | |
| with: | |
| name: ${{ github.sha }} | |
| wait-timeout: 3600 | |
| - name: Extract UPM package | |
| run: ./test/Scripts.Integration.Test/extract-package.ps1 | |
| - name: Add Sentry to the project | |
| run: ./test/Scripts.Integration.Test/add-sentry.ps1 -UnityPath "${{ env.UNITY_PATH }}" | |
| - name: Configure Sentry | |
| run: ./test/Scripts.Integration.Test/configure-sentry.ps1 -UnityPath "${{ env.UNITY_PATH }}" -Platform ${{ matrix.build_platform }} -CheckSymbols | |
| - name: Build Project | |
| run: ./test/Scripts.Integration.Test/build-project.ps1 -UnityPath "${{ env.UNITY_PATH }}" -Platform ${{ matrix.build_platform }} -CheckSymbols:$${{ matrix.check_symbols }} -UnityVersion "${{ matrix.unity-version }}" |
Starting with Unity 2021 and newer, Unity provides command line arguments to make this happen during project creation.
Metadata
Metadata
Assignees
Projects
Status
No status