Fix PS2 build#72
Merged
Merged
Conversation
Add CI support for PlayStation 2 by introducing ci/Dockerfile-ps2 and ps2/ci-docker-run.sh, and update .github/platform-builds.json to define the PS2 build job and artifact. Adjust ps2/ci-build.sh to use /bin/sh and remove strict pipefail and release target, and relax ps2/ci-prepare.sh to use /bin/sh and simpler set flags. Update PLATFORM_SUPPORT.md to reflect PS2/PS3 support status so generated docs match the new CI configuration.
Update PS2 CI to build and package a zipped PS2 bundle instead of a raw ELF. Changes: update .github/platform-builds.json artifact_path to OpenSupaplex-ps2.zip, add OpenSupaplex and zip entries to .gitignore, install zip in ci/Dockerfile-ps2, and extend ps2/ci-build.sh to create an OpenSupaplex folder, copy the ELF and resources into it, and produce OpenSupaplex-ps2.zip.
Split PS2 build targets into debug and release (TARGET_DEBUG / TARGET_RELEASE), select the correct target based on DEBUG, and adjust clean/pack steps to produce a packed release ELF. Also update CI script to copy the release OpenSupaplex.elf into the build bundle instead of the debug binary.
Change PS2 CI script to use the sergiou87/ps2dev-docker-open-supaplex:7.2 image, attempt docker pull first and fall back to building the image from ci/Dockerfile-ps2 if the pull fails. Remove the unconditional docker build to speed up CI when the prebuilt image is available.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A mix of #70 and #53