Skip to content

Commit

Permalink
chore: Skipping Android on Unity 2022 in CI (#1978)
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsandfoxes authored Jan 21, 2025
1 parent 3f0d108 commit ef6d789
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ jobs:
fail-fast: false
matrix:
api-level: [30, 31, 34] # last updated January 2025
unity-version: ["2019", "2022", "6000"]
unity-version: ["2019", "6000"]

mobile-smoke-test-compile:
if: ${{ !startsWith(github.ref, 'refs/heads/release/') }}
Expand Down Expand Up @@ -507,7 +507,12 @@ jobs:
- name: Android smoke test
if: ${{ matrix.platform == 'Android' }}
run: ./scripts/smoke-test-android.ps1 Build -IsIntegrationTest -UnityVersion "${{ matrix.unity-version }}"
# Skipping Android on Unity 2022 for now
run: |
if ("${{ matrix.unity-version }}" -ne "2022")
{
./scripts/smoke-test-android.ps1 Build -IsIntegrationTest -UnityVersion "${{ matrix.unity-version }}"
}
timeout-minutes: 10
env:
JAVA_HOME: ${{ env.JAVA_HOME }}
Expand All @@ -530,6 +535,9 @@ jobs:

- name: Upload app
uses: actions/upload-artifact@v4
# Skipping Android on Unity 2022 for now
if: |
!(matrix.platform == 'Android' && matrix.unity-version == '2022') || matrix.platform == 'iOS'
with:
name: testapp-${{ matrix.platform }}-compiled-${{ matrix.unity-version }}
# Collect app but ignore the files that are not required for the test.
Expand Down

0 comments on commit ef6d789

Please sign in to comment.