Add PAL, JPN, and Shield versions to CI, update dtk-template (#2605)

* Add ShieldD to GitHub CI build

* Update dtk-template, add support for CI caching

* Fix PAL and JPN not building on Linux due to case sensitive file paths

* Add PAL and JPN to GitHub CI build

* Fix bad copy paste
This commit is contained in:
LagoLunatic
2025-08-25 20:45:28 -04:00
committed by GitHub
parent 22573bf7a6
commit ee6c527735
29 changed files with 94 additions and 51 deletions
+22 -2
View File
@@ -12,20 +12,40 @@ jobs:
strategy:
fail-fast: false
matrix:
version: [GZ2E01]
version: [GZ2E01, GZ2P01, GZ2J01, ShieldD]
steps:
# Checkout the repository
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
# Set Git config
- name: Git config
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
# Normalize file mod times
- name: Restore timestamps
run: |
uv run https://raw.githubusercontent.com/MestreLion/git-tools/refs/tags/v2022.12/git-restore-mtime \
--merge --commit-time
# Copy the original files to the workspace
- name: Prepare
run: cp -R /orig .
run: cp -a /orig .
# Restore cached files
- name: Cache build
uses: actions/cache@v4
with:
path: |
build
.ninja_deps
.ninja_log
key: ${{ runner.os }}-${{ matrix.version }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-${{ matrix.version }}-
# Build the project
- name: Build