Skip to content

fix: invalid arch infos from native runtimes #166

fix: invalid arch infos from native runtimes

fix: invalid arch infos from native runtimes #166

Workflow file for this run

name: Test
on:
pull_request:
types: [opened, synchronize]
pull_request_target:
types: [labeled]
push: { branches: [main] }
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
jobs:
testAllModes:
name: Test in ${{ matrix.testMode }} on version ${{ matrix.unityVersion }}
runs-on: ubuntu-latest
if: (github.event_name != 'pull_request_target' && !contains(github.event.pull_request.labels.*.name, 'run to test')) || contains(github.event.pull_request.labels.*.name, 'run to test')
strategy:
fail-fast: false
matrix:
projectPath:
- NuGetImporterForUnity
unityVersion:
- 2020.3.48f1
- 2021.3.25f1
- 2022.2.20f1
testMode:
- editmode
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ${{ matrix.projectPath }}/Library
key: Library-${{ matrix.projectPath }}
restore-keys: |
Library-
- uses: game-ci/unity-test-runner@v2
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
id: tests
with:
projectPath: ${{ matrix.projectPath }}
unityVersion: ${{ matrix.unityVersion }}
testMode: ${{ matrix.testMode }}
artifactsPath: ${{ matrix.testMode }}-artifacts
- uses: actions/upload-artifact@v3
if: always()
with:
name: Test results for ${{ matrix.testMode }}
path: ${{ steps.tests.outputs.artifactsPath }}