game-maker / suite (push) Successful in 7m31s
The job image (tools/ci/Dockerfile, label game-maker-ci) carries chromium with the Vulkan drivers, php-cli and the host's fonts; the render device itself comes from the runner's container.options, so a job container gets the Intel GPU instead of llvmpipe. tools/ci/serve.sh puts the checkout behind /game-maker/ with php -S and writes the project shells the seeders need; every tool now takes its server from GAME_MAKER_BASE_URL rather than from a project id repeated in shell scripts. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
18 lines
452 B
Bash
Executable File
18 lines
452 B
Bash
Executable File
#!/bin/bash
|
|
# The three example games in CI: seed each one, then play it in a headless browser.
|
|
# Ends in a line that survives a pipe, like check.sh does.
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$(readlink -f "$0")")/../.."
|
|
source tools/ci/serve.sh
|
|
game_maker_serve
|
|
|
|
set +e
|
|
code=0
|
|
for game in jumprun tetris actor; do
|
|
echo "--- $game"
|
|
node "tools/seed-$game.mjs" && node "tools/smoke-$game.mjs" || code=1
|
|
done
|
|
echo "=== SMOKES EXIT $code ==="
|
|
exit $code
|