mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-25 18:05:12 -04:00
874df9b5bb
Retire the setup-host release model (CI wiped generated/ and shipped
emitters + sources + a wizard so every player regenerated and rebuilt the
title). Titles now commit generated/ and CI ships the compiled game.
- docs/ci/templates/game-release.yml replaces setup-release.yml: gate on
committed game C (tools/ci/check_generated.sh), emit the OpenBIOS backend
in CI (tools/ci/generate_openbios.sh), configure with
PSXRECOMP_REQUIRE_GAME_C=ON and assert the full path was taken, package
with tools/package_game_release.sh, verify the zip is a game not a kit.
- tools/package_game_release.sh: exe, assets, bundled OpenBIOS, configs, mod
catalog + overlay toolchain via release_stage.py, notices; refuses sources,
emitters, generated C, BIOS dumps. clear_generated.sh removed;
package_setup_host.sh marked retired.
- Scaffold: gitignore templates track generated/, package_release.sh.in
wrapper, setup_project.{sh,ps1} commit generated/ after Generate.
- Project Studio: audit flags ignored/untracked generated/, retail BIOS C
and setup-host workflows; merge_gitignore un-ignores generated/; ops emit
the bundled packager + workflow; generate_ci uses the new template.
- Docs: docs/ci/BUNDLED_RELEASES.md replaces HOST_ONLY_RELEASES.md.
- Tests: tools/tests/test_bundled_release_layout.py; fix pre-existing
false positives in the packager-surface and overlay-static tests.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
16 lines
813 B
Bash
Executable File
16 lines
813 B
Bash
Executable File
#!/usr/bin/env sh
|
|
# Write the bundled release workflow into an existing PSX project (Linux /
|
|
# macOS / WSL / Git Bash). The logic is tools/generate_ci.py; this finds Python.
|
|
#
|
|
# sh psxrecomp/tools/generate_ci.sh # cwd is the project
|
|
# sh psxrecomp/tools/generate_ci.sh ~/src/MyGame # or name the root
|
|
# sh psxrecomp/tools/generate_ci.sh --check # stale? (exit 1)
|
|
# sh psxrecomp/tools/generate_ci.sh --force # overwrite
|
|
#
|
|
# Every flag passes through: --zip-prefix, --title, --dry-run. `--help` lists them.
|
|
set -eu
|
|
SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
|
PYTHON=${PYTHON:-$(command -v python3 || command -v python || true)}
|
|
[ -n "$PYTHON" ] || { echo "generate_ci: python3 not found on PATH" >&2; exit 1; }
|
|
exec "$PYTHON" "$SCRIPT_DIR/generate_ci.py" "$@"
|