윈도우 & 맥 통합 빌드 워크 플로우
Some checks failed
Unity-ALF-The-End-Real / activation (push) Successful in 54s
Unity-Cross-Platform-Build / Build for StandaloneOSX (push) Failing after 1m59s
Unity-Cross-Platform-Build / Build for StandaloneWindows64 (push) Failing after 1m14s
Proxmox-Runner-Test / hello-job (push) Successful in 5s
Some checks failed
Unity-ALF-The-End-Real / activation (push) Successful in 54s
Unity-Cross-Platform-Build / Build for StandaloneOSX (push) Failing after 1m59s
Unity-Cross-Platform-Build / Build for StandaloneWindows64 (push) Failing after 1m14s
Proxmox-Runner-Test / hello-job (push) Successful in 5s
This commit is contained in:
40
.gitea/workflows/build.yaml
Normal file
40
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
name: Unity-Cross-Platform-Build
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build for ${{ matrix.targetPlatform }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
targetPlatform:
|
||||||
|
- StandaloneWindows64 # 윈도우용
|
||||||
|
- StandaloneOSX # 맥용
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Cache Library folder
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: Library
|
||||||
|
key: Library-${{ matrix.targetPlatform }}
|
||||||
|
restore-keys: Library-
|
||||||
|
|
||||||
|
- name: Build Project
|
||||||
|
uses: game-ci/unity-builder@v3
|
||||||
|
env:
|
||||||
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||||
|
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||||
|
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||||
|
with:
|
||||||
|
targetPlatform: ${{ matrix.targetPlatform }}
|
||||||
|
# 빌드 결과물 경로 설정
|
||||||
|
buildName: MyGame-${{ matrix.targetPlatform }}
|
||||||
|
|
||||||
|
- name: Upload Artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: Build-${{ matrix.targetPlatform }}
|
||||||
|
path: build/${{ matrix.targetPlatform }}
|
||||||
Reference in New Issue
Block a user