Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 7 additions & 2 deletions .github/CI.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@

GitHub Actions builds PAL3 and PAL3A with the Unity version in
`ProjectSettings/ProjectVersion.txt`. Each variant covers Android, iOS,
macOS, Linux, and 32-bit/64-bit Windows. The workflows run on pushes and pull
requests, and successful desktop/Android builds upload artifacts.
macOS, Linux, and 32-bit/64-bit Windows. The workflows run only on pull requests.
New commits cancel superseded runs for the same pull request and workflow.
Successful desktop/Android builds upload artifacts.

Codacy is not part of this repository's CI. Its repository webhook is disabled;
there is no Codacy workflow or Codacy-required branch protection check. Re-enabling
that external integration would resume its checks independently of these workflows.

The workflows use checkout v7.0.1, cache v6.1.0, and unity-builder v6.0.0.
The builder CLI is pinned to v0.1.73 so its behavior does not change independently
of the workflow. Update and validate this pin together with builder upgrades.

Keep the committed project configured for PAL3. PAL3A workflows switch their own
checkout before building. Public builds reject imported private VFX and legacy Toon assets;
do not add them or original game data to CI inputs.
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/build-pal3-mono-android.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Builds - PAL3 - Mono - Android

on: [push, pull_request]
on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
build_pal3_mono_android:
Expand All @@ -21,16 +25,16 @@ jobs:
large-packages: true
docker-images: true
swap-storage: true
- uses: actions/checkout@v6.0.3
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v5.0.5
- uses: actions/cache@v6.1.0
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v5
- uses: game-ci/unity-builder@v6.0.0
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
Expand All @@ -39,8 +43,9 @@ jobs:
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3
versioning: Semantic
cliVersion: v0.1.73
- uses: actions/upload-artifact@v7.0.1
with:
name: PAL3-Mono-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
retention-days: 14
retention-days: 14
15 changes: 10 additions & 5 deletions .github/workflows/build-pal3-mono-ios.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Builds - PAL3 - Mono - iOS

on: [push, pull_request]
on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
build_pal3_mono_ios:
Expand All @@ -12,16 +16,16 @@ jobs:
targetPlatform:
- iOS # Build an iOS player.
steps:
- uses: actions/checkout@v6.0.3
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v5.0.5
- uses: actions/cache@v6.1.0
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v5
- uses: game-ci/unity-builder@v6.0.0
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
Expand All @@ -30,4 +34,5 @@ jobs:
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3
versioning: Semantic
# do not upload artifacts for iOS builds
cliVersion: v0.1.73
# do not upload artifacts for iOS builds
15 changes: 10 additions & 5 deletions .github/workflows/build-pal3-mono-linux.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Builds - PAL3 - Mono - Linux

on: [push, pull_request]
on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
build_pal3_mono_linux:
Expand All @@ -12,16 +16,16 @@ jobs:
targetPlatform:
- StandaloneLinux64 # Build a Linux 64-bit standalone.
steps:
- uses: actions/checkout@v6.0.3
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v5.0.5
- uses: actions/cache@v6.1.0
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v5
- uses: game-ci/unity-builder@v6.0.0
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
Expand All @@ -30,8 +34,9 @@ jobs:
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3
versioning: Semantic
cliVersion: v0.1.73
- uses: actions/upload-artifact@v7.0.1
with:
name: PAL3-Mono-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
retention-days: 14
retention-days: 14
15 changes: 10 additions & 5 deletions .github/workflows/build-pal3-mono-macos.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Builds - PAL3 - Mono - MacOS

on: [push, pull_request]
on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
build_pal3_mono_macos:
Expand All @@ -12,16 +16,16 @@ jobs:
targetPlatform:
- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
steps:
- uses: actions/checkout@v6.0.3
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v5.0.5
- uses: actions/cache@v6.1.0
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v5
- uses: game-ci/unity-builder@v6.0.0
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
Expand All @@ -30,8 +34,9 @@ jobs:
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3
versioning: Semantic
cliVersion: v0.1.73
- uses: actions/upload-artifact@v7.0.1
with:
name: PAL3-Mono-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
retention-days: 14
retention-days: 14
15 changes: 10 additions & 5 deletions .github/workflows/build-pal3-mono-windows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Builds - PAL3 - Mono - Windows

on: [push, pull_request]
on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
build_pal3_mono_windows:
Expand All @@ -13,16 +17,16 @@ jobs:
- StandaloneWindows # Build a Windows standalone.
- StandaloneWindows64 # Build a Windows 64-bit standalone.
steps:
- uses: actions/checkout@v6.0.3
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v5.0.5
- uses: actions/cache@v6.1.0
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v5
- uses: game-ci/unity-builder@v6.0.0
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
Expand All @@ -31,8 +35,9 @@ jobs:
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3
versioning: Semantic
cliVersion: v0.1.73
- uses: actions/upload-artifact@v7.0.1
with:
name: PAL3-Mono-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
retention-days: 14
retention-days: 14
15 changes: 10 additions & 5 deletions .github/workflows/build-pal3a-mono-android.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Builds - PAL3A - Mono - Android

on: [push, pull_request]
on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
build_pal3a_mono_android:
Expand All @@ -21,7 +25,7 @@ jobs:
large-packages: true
docker-images: true
swap-storage: true
- uses: actions/checkout@v6.0.3
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
lfs: true
Expand All @@ -37,12 +41,12 @@ jobs:
find: "6b32649dccc45df4ebe8e3f8eccee249"
replace: "d03d417e5660d5849939c8fe43732dbd"
include: "**ProjectSettings.asset"
- uses: actions/cache@v5.0.5
- uses: actions/cache@v6.1.0
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v5
- uses: game-ci/unity-builder@v6.0.0
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
Expand All @@ -52,8 +56,9 @@ jobs:
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3A
versioning: Semantic
cliVersion: v0.1.73
- uses: actions/upload-artifact@v7.0.1
with:
name: PAL3A-Mono-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
retention-days: 14
retention-days: 14
15 changes: 10 additions & 5 deletions .github/workflows/build-pal3a-mono-ios.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Builds - PAL3A - Mono - iOS

on: [push, pull_request]
on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
build_pal3a_mono_ios:
Expand All @@ -12,7 +16,7 @@ jobs:
targetPlatform:
- iOS # Build an iOS player.
steps:
- uses: actions/checkout@v6.0.3
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
lfs: true
Expand All @@ -28,12 +32,12 @@ jobs:
find: "6b32649dccc45df4ebe8e3f8eccee249"
replace: "d03d417e5660d5849939c8fe43732dbd"
include: "**ProjectSettings.asset"
- uses: actions/cache@v5.0.5
- uses: actions/cache@v6.1.0
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v5
- uses: game-ci/unity-builder@v6.0.0
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
Expand All @@ -43,4 +47,5 @@ jobs:
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3A
versioning: Semantic
# do not upload artifacts for iOS builds
cliVersion: v0.1.73
# do not upload artifacts for iOS builds
15 changes: 10 additions & 5 deletions .github/workflows/build-pal3a-mono-linux.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Builds - PAL3A - Mono - Linux

on: [push, pull_request]
on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
build_pal3a_mono_linux:
Expand All @@ -12,7 +16,7 @@ jobs:
targetPlatform:
- StandaloneLinux64 # Build a Linux 64-bit standalone.
steps:
- uses: actions/checkout@v6.0.3
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
lfs: true
Expand All @@ -28,12 +32,12 @@ jobs:
find: "6b32649dccc45df4ebe8e3f8eccee249"
replace: "d03d417e5660d5849939c8fe43732dbd"
include: "**ProjectSettings.asset"
- uses: actions/cache@v5.0.5
- uses: actions/cache@v6.1.0
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v5
- uses: game-ci/unity-builder@v6.0.0
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
Expand All @@ -43,8 +47,9 @@ jobs:
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3A
versioning: Semantic
cliVersion: v0.1.73
- uses: actions/upload-artifact@v7.0.1
with:
name: PAL3A-Mono-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
retention-days: 14
retention-days: 14
Loading
Loading