Cross-compile your PSP homebrew projects inside a Docker container based on psptoolchain.
build.bat
@echo off
docker run -it --rm -v "%~dp0:/src" ticky/pspdev %*
build.sh
#!/usr/bin/env bash
docker run -it --rm -v "$(dirname "$(readlink -f -- "$0")"):/src" ticky/pspdev "$@"
Run this command in your project's root folder to build it inside a Docker container:
docker run -it --rm -v "$PWD:/src" ticky/pspdev makeThis will mount the current folder to /src in the container and then run make inside /src. You may execute other commands, of course.
Omit the command to get a login shell (/bin/bash) in the running container:
docker run -it --rm -v "$PWD:/src" ticky/pspdevWith the Docker image in hand, you can also build and test your PSP applications on CI platforms. Here's an example configuration for Travis CI:
# .travis.yml
language: c
sudo: required
services:
- docker
script: docker run -it --rm -v "$PWD:/src" ticky/pspdev make testThis project is forked from Mathias Lafeldt's docker-ps2dev.