mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
name: Actions 😎
|
|
|
|
on:
|
|
pull_request: {}
|
|
push: { branches: [master] }
|
|
|
|
env:
|
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
|
|
|
jobs:
|
|
buildForAllPlatforms:
|
|
name: Build for ${{ matrix.targetPlatform }} on version ${{ matrix.unityVersion }}
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
projectPath:
|
|
- test-project
|
|
unityVersion:
|
|
- 2019.2.11f1
|
|
- 2019.3.0f1
|
|
targetPlatform:
|
|
- WebGL
|
|
- iOS
|
|
# - StandaloneOSX
|
|
# - StandaloneWindows
|
|
# - StandaloneWindows64
|
|
# - StandaloneLinux64
|
|
# - PS4
|
|
# - XboxOne
|
|
# - Switch
|
|
# - Android
|
|
# - tvOS
|
|
# - Lumin
|
|
# - BJM
|
|
# - Stadia
|
|
# - WSAPlayer
|
|
# - Facebook
|
|
# - NoTarget
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: ./
|
|
with:
|
|
projectPath: ${{ matrix.projectPath }}
|
|
unityVersion: ${{ matrix.unityVersion }}
|
|
targetPlatform: ${{ matrix.targetPlatform }}
|
|
- uses: actions/upload-artifact@v1
|
|
with:
|
|
name: Build
|
|
path: build
|