mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user