Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
21e2305b2a | ||
|
|
687ff0e2f1 | ||
|
|
d2d2d81faf | ||
|
|
d7d5cfb731 | ||
|
|
667e496704 | ||
|
|
1cf50721bf | ||
|
|
1a9cf60fb8 | ||
|
|
184906f22a | ||
|
|
c65393957c | ||
|
|
5adb50fd4b | ||
|
|
cc3adfaa20 | ||
|
|
85d1aea1f1 | ||
|
|
20f34c16ec | ||
|
|
67fabf417e | ||
|
|
7184affda2 | ||
|
|
cc9cd1fc17 | ||
|
|
340c573354 | ||
|
|
180c7bcfe6 | ||
|
|
476f762536 | ||
|
|
b78cb2f8c5 | ||
|
|
f20aab6490 | ||
|
|
451dc347e5 | ||
|
|
3645f5fb64 | ||
|
|
e2ca2f5db3 | ||
|
|
ff50d74ae2 | ||
|
|
dca5d8c23c | ||
|
|
28c9643945 | ||
|
|
71247c4cce | ||
|
|
dc0de23a20 | ||
|
|
b3d3338e7a | ||
|
|
c42bb95c9c | ||
|
|
fe9dfc0cee | ||
|
|
0152be3897 | ||
|
|
5815f8f9a7 | ||
|
|
b27167c272 | ||
|
|
3c279b3a6e | ||
|
|
53c83c1d3f | ||
|
|
49fb91c4da | ||
|
|
9472783ea2 | ||
|
|
afb26123a8 | ||
|
|
d07063a8a3 | ||
|
|
557d0fb96e | ||
|
|
92da74b1ef | ||
|
|
1d52df095d | ||
|
|
a76ec3f932 | ||
|
|
6bc60d05ec | ||
|
|
8c1e541ca0 | ||
|
|
c79139bba7 | ||
|
|
85f1b9f386 | ||
|
|
686550548b | ||
|
|
d9013c6ef8 | ||
|
|
a8856948fb | ||
|
|
e429d102d0 | ||
|
|
12e2f8cc9e | ||
|
|
ebda00417e | ||
|
|
f1b4642ff2 | ||
|
|
94242e5c8d | ||
|
|
a724e1cac9 | ||
|
|
801eb84c9a |
No files matched your search
@@ -44,9 +44,12 @@ jobs:
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||
with:
|
||||
# This runner and Gitea share Build; keep source traffic on loopback.
|
||||
github-server-url: http://127.0.0.1:3000
|
||||
persist-credentials: false
|
||||
sparse-checkout: |
|
||||
scripts/downloads-release.py
|
||||
scripts/android-release.py
|
||||
tests/downloads_release_test.py
|
||||
version.json
|
||||
ziran.lock
|
||||
@@ -100,6 +103,8 @@ jobs:
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||
with:
|
||||
# This runner and Gitea share Build; keep source traffic on loopback.
|
||||
github-server-url: http://127.0.0.1:3000
|
||||
persist-credentials: false
|
||||
- name: Select the installed Android tools and the lane's package cache
|
||||
run: bash scripts/native-ci.sh android
|
||||
@@ -140,11 +145,15 @@ jobs:
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||
with:
|
||||
# This runner and Gitea share Build; keep source traffic on loopback.
|
||||
github-server-url: http://127.0.0.1:3000
|
||||
path: waozixyz/shovey
|
||||
persist-credentials: false
|
||||
# The UI tests drive the player through Inner Breeze's test driver client.
|
||||
- uses: https://github.com/actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||
with:
|
||||
# This runner and Gitea share Build; keep source traffic on loopback.
|
||||
github-server-url: http://127.0.0.1:3000
|
||||
repository: waozi/breeze
|
||||
ref: fa9c8acab237278d81c9929fa97b3f2545842310
|
||||
path: waozixyz/breeze
|
||||
@@ -154,7 +163,9 @@ jobs:
|
||||
- name: Build the locked compiler and fetch the locked packages
|
||||
run: bash scripts/native-ci.sh desktop
|
||||
- name: Build and pack the Linux download
|
||||
run: make player-linux
|
||||
run: |
|
||||
make -j1 player-linux
|
||||
python3 scripts/native-payloads.py save
|
||||
- name: Unpack the download
|
||||
id: unpack
|
||||
run: |
|
||||
@@ -202,8 +213,8 @@ jobs:
|
||||
|
||||
windows:
|
||||
name: Windows download, played under Wine on a private display
|
||||
needs: due
|
||||
if: needs.due.outputs.build == 'true'
|
||||
needs: [due, linux]
|
||||
if: ${{ !cancelled() && needs.due.outputs.build == 'true' }}
|
||||
runs-on: build-native-shovey
|
||||
timeout-minutes: 90
|
||||
env:
|
||||
@@ -214,10 +225,14 @@ jobs:
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||
with:
|
||||
# This runner and Gitea share Build; keep source traffic on loopback.
|
||||
github-server-url: http://127.0.0.1:3000
|
||||
path: waozixyz/shovey
|
||||
persist-credentials: false
|
||||
- uses: https://github.com/actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||
with:
|
||||
# This runner and Gitea share Build; keep source traffic on loopback.
|
||||
github-server-url: http://127.0.0.1:3000
|
||||
repository: waozi/breeze
|
||||
ref: fa9c8acab237278d81c9929fa97b3f2545842310
|
||||
path: waozixyz/breeze
|
||||
@@ -228,7 +243,16 @@ jobs:
|
||||
run: bash scripts/native-ci.sh desktop
|
||||
- name: Cross-build and pack the Windows download
|
||||
run: |
|
||||
make player-windows
|
||||
set -euo pipefail
|
||||
make -j1 levels landscape
|
||||
if python3 scripts/native-payloads.py restore; then
|
||||
python3 scripts/player.py windows
|
||||
else
|
||||
status=$?
|
||||
# A failed Linux build may leave no handoff. Corruption is an error.
|
||||
test "$status" = 3
|
||||
make -j1 player-windows
|
||||
fi
|
||||
cp build/downloads/shovey-v*-windows-x86_64.zip "$HANDOFF/downloads/"
|
||||
- name: Play the unpacked download under Wine on a private display
|
||||
run: |
|
||||
@@ -254,6 +278,8 @@ jobs:
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||
with:
|
||||
# This runner and Gitea share Build; keep source traffic on loopback.
|
||||
github-server-url: http://127.0.0.1:3000
|
||||
persist-credentials: false
|
||||
sparse-checkout: |
|
||||
scripts/downloads-release.py
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
name: Downloads
|
||||
run-name: Shovey build ${{ inputs.revision || github.sha }}
|
||||
|
||||
# Gitea requests an exact source commit. These jobs build/sign every edition,
|
||||
# reproduce the F-Droid APK and play the Linux/Windows downloads. Gitea's
|
||||
# Downloads workflow publishes our own edition; the F-Droid and Google Play
|
||||
# editions this workflow builds are attached to the mirrored GitHub release,
|
||||
# and play-bundle.yml sends the bundle to Google Play.
|
||||
# Gitea requests an exact source commit. Published releases reuse its signed
|
||||
# normal APK as the identical F-Droid reference, build the Google Play APK,
|
||||
# and attach the editions. Manual runs still build/sign the normal APK,
|
||||
# reproduce it with F-Droid and play the Linux/Windows downloads.
|
||||
# play-bundle.yml sends the bundle to Google Play.
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
@@ -45,6 +45,11 @@ jobs:
|
||||
with:
|
||||
ref: ${{ inputs.revision || github.sha }}
|
||||
fetch-depth: 0
|
||||
filter: blob:none
|
||||
sparse-checkout: |
|
||||
src/CHANGELOG.md
|
||||
version.json
|
||||
sparse-checkout-cone-mode: false
|
||||
- name: Release only a new version or a requested run
|
||||
id: due
|
||||
env:
|
||||
@@ -75,27 +80,49 @@ jobs:
|
||||
with:
|
||||
ref: ${{ needs.due.outputs.revision }}
|
||||
- uses: ./.github/actions/android
|
||||
if: github.event_name != 'release'
|
||||
- uses: actions/setup-java@v4
|
||||
if: github.event_name == 'release'
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '21'
|
||||
- name: Install only the APK verification tools
|
||||
if: github.event_name == 'release'
|
||||
run: |
|
||||
sdkmanager="$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager"
|
||||
yes | "$sdkmanager" --licenses >/dev/null || true
|
||||
"$sdkmanager" 'build-tools;36.0.0'
|
||||
# Only the Google Play edition may name a Google library, in its build
|
||||
# files as in its APK.
|
||||
- name: Keep Google libraries out of the normal and F-Droid build files
|
||||
uses: kryonlabs/kryon/.github/actions/google-free@7217475dfa7f462939e47e3f0bc918aef248b179
|
||||
# The build F-Droid's recipe runs; it has no self-update, so one APK
|
||||
# serves both.
|
||||
# The build's own Ziran cache (compiler, package checkouts and native
|
||||
# libraries) is addressed by what it is built from; reuse it between
|
||||
# runs with the same lock instead of rebuilding the compiler each time.
|
||||
# A manual rehearsal builds F-Droid's recipe. A published release
|
||||
# already has this exact signed APK from Gitea: verify and reuse it,
|
||||
# without installing the NDK or building/signing it a second time.
|
||||
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
|
||||
if: github.event_name != 'release'
|
||||
with:
|
||||
path: build/fdroid/cache/ziran
|
||||
key: shovey-android-ubuntu-24.04-${{ hashFiles('ziran.lock') }}
|
||||
- name: Build the release APK
|
||||
run: make android-fdroid
|
||||
if: github.event_name != 'release'
|
||||
run: make -j1 android-fdroid
|
||||
- name: Reuse the published APK from the exact release source
|
||||
if: github.event_name == 'release'
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
VERSION: ${{ needs.due.outputs.version }}
|
||||
REVISION: ${{ needs.due.outputs.revision }}
|
||||
run: |
|
||||
python3 scripts/android-release.py reuse build/fdroid/shovey.apk \
|
||||
--version "$VERSION" --revision "$REVISION"
|
||||
- name: Keep Google libraries out of the normal and F-Droid APK
|
||||
uses: kryonlabs/kryon/.github/actions/google-free@7217475dfa7f462939e47e3f0bc918aef248b179
|
||||
with:
|
||||
packages: build/fdroid/shovey.apk
|
||||
source: ''
|
||||
- name: Sign and check the APK
|
||||
if: github.event_name != 'release'
|
||||
env:
|
||||
KEYSTORE: ${{ secrets.SHOVEY_ANDROID_KEYSTORE }}
|
||||
PASSWORD: ${{ secrets.SHOVEY_ANDROID_KEYSTORE_PASSWORD }}
|
||||
@@ -109,6 +136,13 @@ jobs:
|
||||
--output "build/downloads/shovey-v$VERSION.apk"
|
||||
rm -f "$RUNNER_TEMP/shovey-release.p12" "$RUNNER_TEMP/password"
|
||||
cp "build/downloads/shovey-v$VERSION.apk" "build/downloads/shovey-$VERSION-fdroid.apk"
|
||||
- name: Keep the verified APK bytes as the F-Droid reference
|
||||
if: github.event_name == 'release'
|
||||
env:
|
||||
VERSION: ${{ needs.due.outputs.version }}
|
||||
run: |
|
||||
mkdir -p build/downloads
|
||||
cp build/fdroid/shovey.apk "build/downloads/shovey-$VERSION-fdroid.apk"
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: shovey-android
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: Play online
|
||||
|
||||
# shovey.waozi.xyz is the released game: the newest published release's own
|
||||
# shovey.xyz is the released game: the newest published release's own
|
||||
# shovey.zx, shovey.json and entity.zx, in Shovey's player compiled for the
|
||||
# browser, with their programs compiled into the page (scripts/build-site.py).
|
||||
# Pushes rebuild it, and so does each finished Downloads run that published a
|
||||
@@ -45,7 +45,19 @@ jobs:
|
||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||
with:
|
||||
fetch-depth: 0
|
||||
filter: blob:none
|
||||
ref: ${{ inputs.revision || github.sha }}
|
||||
sparse-checkout: |
|
||||
.github/workflows/web.yml
|
||||
.github/workflows/play-bundle.yml
|
||||
scripts/prepare-pages.py
|
||||
tests/pages_packaging_test.py
|
||||
tests/play_release_notes_test.py
|
||||
site/index.html
|
||||
fastlane/metadata/android
|
||||
src/CHANGELOG.md
|
||||
version.json
|
||||
sparse-checkout-cone-mode: false
|
||||
- name: Test the site packaging and release notes
|
||||
run: |
|
||||
python3 tests/pages_packaging_test.py
|
||||
@@ -57,17 +69,20 @@ jobs:
|
||||
run: |
|
||||
if [ "$SITE_ONLY" = true ]; then
|
||||
echo 'game=false' >> "$GITHUB_OUTPUT"
|
||||
# Only explicitly marked packaging commits may skip campaign work.
|
||||
elif [ "$GITHUB_EVENT_NAME" = push ] && git cat-file -e "$BEFORE^{commit}" &&
|
||||
git log -1 --format=%B | grep -qx 'Shovey-Site-Only: true'; then
|
||||
# Reference art and downstream metadata never change the game.
|
||||
# Runtime packaging still requires its explicit site-only marker.
|
||||
elif [ "$GITHUB_EVENT_NAME" = push ] && git cat-file -e "$BEFORE^{commit}"; then
|
||||
python3 - <<'PYCODE' >> "$GITHUB_OUTPUT"
|
||||
import subprocess
|
||||
import os
|
||||
changed = subprocess.check_output(['git', 'diff', '--name-only', os.environ['BEFORE'], 'HEAD'], text=True).splitlines()
|
||||
packaging = {'.github/workflows/web.yml', 'scripts/prepare-pages.py', 'scripts/player.py',
|
||||
packaging = {'.github/workflows/web.yml', 'AGENTS.md', 'README.md', 'scripts/prepare-pages.py', 'scripts/player.py',
|
||||
'site/index.html', 'tests/pages_packaging_test.py', 'tests/pages_browser_test.py', 'tests/web_release_test.mjs',
|
||||
'Makefile', '.github/workflows/play-bundle.yml', 'tests/play_release_notes_test.py'}
|
||||
print('game=' + str(not changed or not set(changed) <= packaging).lower())
|
||||
message = subprocess.check_output(['git', 'log', '-1', '--format=%B'], text=True)
|
||||
reference_only = bool(changed) and all(path.startswith(('.gitea/', 'packaging/fdroid/metadata/', 'art/', 'tools/art/')) for path in changed)
|
||||
packaging_only = 'Shovey-Site-Only: true' in message.splitlines() and bool(changed) and set(changed) <= packaging
|
||||
print('game=' + str(not (reference_only or packaging_only)).lower())
|
||||
PYCODE
|
||||
else
|
||||
echo 'game=true' >> "$GITHUB_OUTPUT"
|
||||
@@ -88,6 +103,7 @@ jobs:
|
||||
path: waozixyz/shovey
|
||||
ref: ${{ inputs.revision || github.sha }}
|
||||
fetch-depth: 0
|
||||
filter: blob:none
|
||||
- name: Validate the requested source
|
||||
id: source
|
||||
env:
|
||||
@@ -214,10 +230,10 @@ jobs:
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
live=$(curl -fsS https://shovey.waozi.xyz/build.json | python3 -c 'import json,sys; print(json.load(sys.stdin).get("version", ""))' || true)
|
||||
live=$(curl -fsS https://shovey.xyz/build.json | python3 -c 'import json,sys; print(json.load(sys.stdin).get("version", ""))' || true)
|
||||
# The site changes with each release; a manual run rebuilds it anyway.
|
||||
if [ "$GITHUB_EVENT_NAME" != workflow_dispatch ] && [ "$live" = "${tag#v}" ]; then
|
||||
echo "::notice title=Site::shovey.waozi.xyz already runs Shovey $live"
|
||||
echo "::notice title=Site::shovey.xyz already runs Shovey $live"
|
||||
echo 'publish=false' >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo 'publish=true' >> "$GITHUB_OUTPUT"
|
||||
@@ -297,6 +313,7 @@ jobs:
|
||||
if: steps.due.outputs.publish == 'true'
|
||||
run: |
|
||||
export CHROMIUM="$(command -v google-chrome || command -v chromium)"
|
||||
env -u DISPLAY -u WAYLAND_DISPLAY -u XAUTHORITY -u DBUS_SESSION_BUS_ADDRESS -u SESSION_MANAGER -u GDK_DISPLAY YUE_DESKTOP_RECOVERY=0 SHOVEY_PUBLIC_HOST=1 node tests/web_release_test.mjs build/web-site
|
||||
env -u DISPLAY -u WAYLAND_DISPLAY -u XAUTHORITY -u DBUS_SESSION_BUS_ADDRESS -u SESSION_MANAGER -u GDK_DISPLAY YUE_DESKTOP_RECOVERY=0 node tests/web_release_test.mjs build/web-site-check
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: steps.due.outputs.publish == 'true'
|
||||
@@ -367,8 +384,14 @@ jobs:
|
||||
runs-on: ubuntu-24.04
|
||||
environment:
|
||||
name: cloudflare-pages
|
||||
url: https://shovey.waozi.xyz
|
||||
url: https://shovey.xyz
|
||||
steps:
|
||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||
with:
|
||||
ref: ${{ github.event_name == 'workflow_run' && 'master' || inputs.revision || github.sha }}
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: shovey-site
|
||||
@@ -379,17 +402,20 @@ jobs:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
command: pages deploy build/web-site --project-name=shovey --branch=master --commit-hash=${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_sha || github.sha }}
|
||||
- name: Check that shovey.waozi.xyz serves the release
|
||||
env:
|
||||
VERSION: ${{ needs.site.outputs.version }}
|
||||
- name: Check that shovey.xyz serves the release
|
||||
run: |
|
||||
expected=$(cat build/web-site/build.json)
|
||||
for attempt in $(seq 30); do
|
||||
live=$(curl -fsS -H 'Cache-Control: no-cache' "https://shovey.waozi.xyz/build.json?$attempt" | python3 -c 'import json,sys; print(json.load(sys.stdin).get("version", ""))' || true)
|
||||
test "$live" = "$VERSION" && curl -fsS -o /dev/null https://shovey.waozi.xyz/runtime.wasm && exit 0
|
||||
live=$(curl -fsS --max-time 10 -H 'Cache-Control: no-cache' "https://shovey.xyz/build.json?$attempt" || true)
|
||||
if [ "$live" = "$expected" ]; then exit 0; fi
|
||||
sleep 10
|
||||
done
|
||||
echo "::error::shovey.waozi.xyz serves '$live', not Shovey $VERSION"
|
||||
echo '::error::shovey.xyz did not serve the deployed build.json'
|
||||
exit 1
|
||||
- name: Play the deployed release at shovey.xyz
|
||||
run: |
|
||||
export CHROMIUM="$(command -v google-chrome || command -v chromium)"
|
||||
env -u DISPLAY -u WAYLAND_DISPLAY -u XAUTHORITY -u DBUS_SESSION_BUS_ADDRESS -u SESSION_MANAGER -u GDK_DISPLAY YUE_DESKTOP_RECOVERY=0 SHOVEY_TEST_URL=https://shovey.xyz/ node tests/web_release_test.mjs
|
||||
|
||||
itch:
|
||||
name: Publish itch.io
|
||||
|
||||
@@ -35,15 +35,17 @@ instead.
|
||||
|
||||
## Web deployment
|
||||
|
||||
Owner instruction, 2026-10-22: the playable web game lives at
|
||||
https://shovey.waozi.xyz on Cloudflare Pages, linked from https://waozi.xyz.
|
||||
Owner instruction, 2026-11-27: the playable web game lives at
|
||||
https://shovey.xyz on Cloudflare Pages, linked from https://waozi.xyz.
|
||||
Keep https://shovey.waozi.xyz as a permanent redirect to the same path and query
|
||||
on the new domain; keep the old subdomain configured.
|
||||
Do not deploy it to GitHub Pages or use a github.io play link.
|
||||
|
||||
Use the existing Cloudflare Pages deployment pattern in
|
||||
`waozixyz/waozi/.github/workflows/pages.yml`. Shovey's GitHub Actions workflow
|
||||
builds and tests the approved campaign, then deploys the `shovey` Pages
|
||||
project from `master`. Keep the website's link in its source
|
||||
`site/data/waozi.toml` pointing to the subdomain.
|
||||
`site/data/waozi.toml` pointing to https://shovey.xyz/.
|
||||
|
||||
Verify the deployed revision and playable game at the actual custom domain.
|
||||
Browser checks use a private headless browser or private display, never the
|
||||
@@ -64,3 +66,14 @@ developer editor, close and relaunch that editor after backing up its drafts and
|
||||
preserving the current level. Do not request repeat confirmation. This is the
|
||||
owner's explicit exception to the parent rule to leave running applications
|
||||
open. Keep every other application open.
|
||||
|
||||
## Pixel development installs
|
||||
|
||||
Owner correction, 2026-11-28: after every Shovey update, install the latest
|
||||
verified current-tree build on the Pixel connected to the desktop by wireless
|
||||
ADB. Resolve “wireless ADB” with Harmony's `devices` tool and verify the
|
||||
returned physical identity and host before installing. The ThinkPad phone is
|
||||
a separate device; never substitute it. Preserve the existing app package,
|
||||
data and account, check the installed version and signing certificate, and
|
||||
open the updated app. Do not capture phone screenshots for this task.
|
||||
Development installation proceeds independently of release publication.
|
||||
@@ -10,7 +10,7 @@ MESH_CLIENT = $(shell $(ZIRAN) pkg path mesh_client $(LOCK_FLAGS))
|
||||
CRYPTO = $(shell $(ZIRAN) pkg path crypto $(LOCK_FLAGS))
|
||||
COMPLETION_MODULES = --module-path 'mesh_client=$(MESH_CLIENT)' --module-path 'crypto=$(CRYPTO)/src'
|
||||
EDITOR_OUT ?= build/private-editor
|
||||
EDITOR_DEFINES ?=
|
||||
EDITOR_DEFINES ?= $(if $(KRYON_TEST_DRIVER),--define KRYON_TEST_DRIVER)
|
||||
|
||||
# Ziran test programs: $(call ziran_test,NAME,ARGUMENTS) builds tests/NAME.zi
|
||||
# into build/tests/NAME and runs it from the repository root, without the
|
||||
@@ -57,6 +57,8 @@ editor-map-test: editor
|
||||
env -u DISPLAY -u WAYLAND_DISPLAY -u XAUTHORITY -u DBUS_SESSION_BUS_ADDRESS -u SESSION_MANAGER -u GDK_DISPLAY YUE_DESKTOP_RECOVERY=0 SDL_AUDIODRIVER=dummy \
|
||||
xvfb-run -a -n 400 -s '-screen 0 1600x1200x24' python3 tests/developer_editor_map_ui_test.py
|
||||
|
||||
editor-ui-test star-merge-test editor-map-test: export KRYON_TEST_DRIVER=1
|
||||
|
||||
editor-ui-test: public-editor-test star-merge-test editor-server-test editor-map-test
|
||||
env -u DISPLAY -u WAYLAND_DISPLAY -u XAUTHORITY -u DBUS_SESSION_BUS_ADDRESS YUE_DESKTOP_RECOVERY=0 \
|
||||
xvfb-run -a -n 400 -s '-screen 0 1600x1100x24' python3 tests/developer_editor_ui_test.py
|
||||
@@ -74,11 +76,7 @@ editor-ui-test: public-editor-test star-merge-test editor-server-test editor-map
|
||||
xvfb-run -a -n 400 -s '-screen 0 1600x1100x24' python3 tests/editor_memory_test.py --binary $(EDITOR_OUT)/shovey-level-editor
|
||||
|
||||
editor: levels build/ziran/libziran.a
|
||||
'$(TOOLCHAIN)/build/bin/ziran' build --target=c --root . \
|
||||
--module-path '$(KRYON)/src/ui' --module-path '$(KRYON)/src/backend' \
|
||||
--module-path 'mingcute=$(MINGCUTE)/src' \
|
||||
--module-path 'kryon=$(KRYON)/src/ui' --module-path 'kryon=$(KRYON)/src/backend' \
|
||||
--module-path 'std=$(TOOLCHAIN)/std' --module-path '$(TOOLCHAIN)/std' \
|
||||
'$(TOOLCHAIN)/build/bin/ziran' build --project $(LOCK_FLAGS) --target=c --root src --module-path tools/editor \
|
||||
$(EDITOR_DEFINES) --entry editor:main -o $(EDITOR_OUT)/c tools/editor/editor.zi
|
||||
$${CC:-cc} -std=c11 -O2 -ffunction-sections -fdata-sections -I'$(TOOLCHAIN)/include' \
|
||||
$$(find $(EDITOR_OUT)/c -type d -printf ' -iquote %p') $$(find $(EDITOR_OUT)/c -name '*.c') \
|
||||
@@ -191,8 +189,9 @@ desktop: bundles
|
||||
$(MAKE) -C '$(KRYON)' zx-player zx-window-host ZIRAN_DIR='$(TOOLCHAIN)'
|
||||
rm -rf '$(DESKTOP_DIR)'
|
||||
mkdir -p '$(DESKTOP_DIR)/bin' '$(DESKTOP_APP_DIR)'
|
||||
'$(TOOLCHAIN)/build/bin/ziran' bundle --project $(LOCK_FLAGS) --root . \
|
||||
--module-path build/web-generated --define KRYON_HOSTED_UI --define SHOVEY_WEB --define SHOVEY_RELEASE $(DESKTOP_DEFINES) \
|
||||
'$(TOOLCHAIN)/build/bin/ziran' bundle --project $(LOCK_FLAGS) --root src \
|
||||
--module-path build/web-generated --module-path src/web --module-path src/editor --module-path src/solver \
|
||||
--define KRYON_HOSTED_UI --define SHOVEY_WEB --define SHOVEY_RELEASE $(DESKTOP_DEFINES) \
|
||||
--bind editor_view:ReadAppUiHost=host:ReadAppUiHost --bind editor_view:AppLocaleHost=host:EditorLocaleHost \
|
||||
--bind editor_view:AppRecordHost=host:EditorRecordHost --bind editor_view:SaveAppRecordHost=host:EditorSaveRecordHost \
|
||||
--bind editor_view:AppKeyHost=host:GameKeyHost --bind editor_view:AppSoundHost=host:AppSoundHost \
|
||||
@@ -209,8 +208,9 @@ web-zx: bundles
|
||||
python3 scripts/prepare-web.py
|
||||
rm -rf build/web
|
||||
mkdir -p build/web
|
||||
'$(TOOLCHAIN)/build/bin/ziran' bundle --project $(LOCK_FLAGS) --root . \
|
||||
--module-path build/web-generated --define KRYON_HOSTED_UI --define SHOVEY_WEB --define SHOVEY_RELEASE \
|
||||
'$(TOOLCHAIN)/build/bin/ziran' bundle --project $(LOCK_FLAGS) --root src \
|
||||
--module-path build/web-generated --module-path src/web --module-path src/editor --module-path src/solver \
|
||||
--define KRYON_HOSTED_UI --define SHOVEY_WEB --define SHOVEY_RELEASE \
|
||||
--bind editor_view:ReadAppUiHost=host:ReadAppUiHost --bind editor_view:AppLocaleHost=host:EditorLocaleHost \
|
||||
--bind editor_view:AppRecordHost=host:EditorRecordHost --bind editor_view:SaveAppRecordHost=host:EditorSaveRecordHost \
|
||||
--bind editor_view:AppKeyHost=host:GameKeyHost --bind editor_view:AppSoundHost=host:AppSoundHost \
|
||||
@@ -249,7 +249,7 @@ web: bundles
|
||||
python3 scripts/prepare-web.py
|
||||
rm -rf $(WEB_OUT) $(WEB_NATIVE_OUT)
|
||||
mkdir -p $(WEB_OUT) $(WEB_NATIVE_OUT)/c
|
||||
'$(ZIRAN)' build --project $(LOCK_FLAGS) --target=c --target-os web --target-cpu wasm32 --module-path build/web-generated \
|
||||
'$(ZIRAN)' build --project $(LOCK_FLAGS) --target=c --target-os web --target-cpu wasm32 --root src --module-path build/web-generated \
|
||||
--module-path src/web --module-path src/editor --module-path src/solver \
|
||||
$(if $(KRYON_TEST_DRIVER),--define KRYON_TEST_DRIVER) \
|
||||
--define PLATFORM_WEB --define BUNDLE_NATIVE_RENDERER --define SHOVEY_WEB --define SHOVEY_RELEASE \
|
||||
@@ -323,14 +323,17 @@ bench: levels build/ziran/libziran.a
|
||||
build/ziran/libziran.a -Wl,--gc-sections -lm -lpthread -o build/solver/shovey-bench
|
||||
|
||||
# The checks the public repository can run with only the published campaign.
|
||||
# A prepared locked compiler already contains its native runtime. Reuse it
|
||||
# rather than building a second compiler/runtime tree just for this fixture.
|
||||
CHEST_RUNTIME = $(if $(wildcard $(TOOLCHAIN)/build/libziran.a),$(TOOLCHAIN)/build/libziran.a,build/ziran/libziran.a)
|
||||
.PHONY: chest-fixture
|
||||
chest-fixture: build/ziran/libziran.a
|
||||
chest-fixture: $(CHEST_RUNTIME)
|
||||
'$(TOOLCHAIN)/build/bin/ziran' build --target=c --root . \
|
||||
--module-path 'std=$(TOOLCHAIN)/std' --module-path '$(TOOLCHAIN)/std' \
|
||||
--entry chest_fixture:main -o build/chest-test/c tests/chest_fixture.zi
|
||||
$${CC:-cc} -std=c11 -O1 -I'$(TOOLCHAIN)/include' \
|
||||
$$(find build/chest-test/c -type d -printf ' -iquote %p') \
|
||||
$$(find build/chest-test/c -name '*.c') build/ziran/libziran.a -lm -lpthread -o build/chest-test/fixture
|
||||
$$(find build/chest-test/c -name '*.c') '$(CHEST_RUNTIME)' -lm -lpthread -o build/chest-test/fixture
|
||||
build/chest-test/fixture build/chest-test/fixture.txt
|
||||
|
||||
.PHONY: artifact-test artifact-provider-test
|
||||
@@ -558,8 +561,8 @@ island-collectible-book-test:
|
||||
@if test -f src/island/keepsake_book.zi; then $(MAKE) island-collectible-book-test-private; else echo "Private Island source unavailable; book test skipped"; fi
|
||||
|
||||
island-collectible-book-test-private:
|
||||
$(call ziran_test,island_collectible_book_test,,--bind-host island_collectible_book_test)
|
||||
'$(TOOLCHAIN)/build/bin/ziran' bundle --root tests $(ZIRAN_TEST_MODULES) --bind-host island_collectible_book_test --entry island_collectible_book_test:main -o build/tests/island_collectible_book_test.zx tests/island_collectible_book_test.zi
|
||||
$(call ziran_test,island_collectible_book_test,,--module-path src/island --bind-host island_collectible_book_test)
|
||||
'$(TOOLCHAIN)/build/bin/ziran' bundle --project $(LOCK_FLAGS) --root src --module-path src/island --module-path tests --bind-host island_collectible_book_test --entry island_collectible_book_test:main -o build/tests/island_collectible_book_test.zx tests/island_collectible_book_test.zi
|
||||
test "$$('$(TOOLCHAIN)/build/bin/ziran' run build/tests/island_collectible_book_test.zx | tail -n 1)" = 0
|
||||
|
||||
.PHONY: island-gameplay-test
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
A colorful puzzle adventure about finding a path home. Push balls into matching
|
||||
pits, move crates onto their marks and untangle the board one move at a time.
|
||||
|
||||
[Play online](https://shovey.waozi.xyz/)
|
||||
[Play online](https://shovey.xyz/)
|
||||
· [Play on itch.io](https://waozi.itch.io/shovey)
|
||||
· [Download for Android, Linux and Windows](https://github.com/waozixyz/shovey/releases/latest)
|
||||
· [What's new](src/CHANGELOG.md)
|
||||
@@ -89,6 +89,16 @@ python3 tests/world_map_spacing_test.py
|
||||
build-queue -- make world-map-test player-linux
|
||||
```
|
||||
|
||||
Linux and Windows player builds use `ccache` when installed, reusing unchanged
|
||||
C units in `$XDG_CACHE_HOME/shovey-ccache` (or `~/.cache/shovey-ccache`), with a
|
||||
512 MB limit. Compiler, header and flag changes invalidate those units;
|
||||
libraries are linked on every build. Without `ccache`, builds use the normal
|
||||
compiler. The chest fixture reuses the locked compiler's runtime when present.
|
||||
|
||||
On a published release, GitHub verifies and reuses Gitea's signed normal APK
|
||||
as the identical F-Droid reference. Manual rehearsals still build it from
|
||||
source; the independent F-Droid reproducibility workflow remains in place.
|
||||
|
||||
Test Play, map selection and double-click entry on a private Xvfb display
|
||||
after building the player:
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
},
|
||||
{
|
||||
"manifest": "packaging/island.json",
|
||||
"enabled": false,
|
||||
"external": true,
|
||||
"standalone_bundle": "shovey-island.zx",
|
||||
"cover": {
|
||||
|
||||
|
After Width: | Height: | Size: 290 KiB |
|
After Width: | Height: | Size: 735 KiB |
|
After Width: | Height: | Size: 1.3 MiB |
|
After Width: | Height: | Size: 273 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 466 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 331 KiB |
|
After Width: | Height: | Size: 320 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 155 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 127 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 656 KiB |
|
After Width: | Height: | Size: 656 KiB |
|
After Width: | Height: | Size: 582 KiB |
|
After Width: | Height: | Size: 1.7 MiB |
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 347 KiB |
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 3.5 MiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 3.5 MiB |
|
After Width: | Height: | Size: 367 KiB |
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 978 KiB |
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 319 KiB |
|
After Width: | Height: | Size: 143 KiB |
|
After Width: | Height: | Size: 350 KiB |
|
After Width: | Height: | Size: 314 KiB |
|
After Width: | Height: | Size: 172 KiB |
|
After Width: | Height: | Size: 274 KiB |
|
After Width: | Height: | Size: 197 KiB |
|
After Width: | Height: | Size: 210 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 2.3 MiB |
|
After Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 1.3 MiB |
|
After Width: | Height: | Size: 984 KiB |
|
After Width: | Height: | Size: 2.1 MiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 2.3 MiB |
|
After Width: | Height: | Size: 1.2 MiB |
|
After Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 505 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 3.8 MiB |
|
After Width: | Height: | Size: 3.5 MiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 267 KiB |
|
After Width: | Height: | Size: 325 KiB |
|
After Width: | Height: | Size: 641 KiB |
|
After Width: | Height: | Size: 126 KiB |
|
After Width: | Height: | Size: 125 KiB |
|
After Width: | Height: | Size: 309 KiB |
|
After Width: | Height: | Size: 603 KiB |
|
After Width: | Height: | Size: 319 KiB |
|
After Width: | Height: | Size: 144 KiB |
|
After Width: | Height: | Size: 332 KiB |
|
After Width: | Height: | Size: 185 KiB |
|
After Width: | Height: | Size: 253 KiB |
|
After Width: | Height: | Size: 258 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 3.2 MiB |
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 594 KiB |
|
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 621 KiB |
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 623 KiB |
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 663 KiB |
|
Before Width: | Height: | Size: 243 KiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 529 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 671 KiB |
|
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 516 KiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 549 KiB |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 7.4 KiB |
@@ -1,36 +1,36 @@
|
||||
{
|
||||
"shovey-editor-landscape": {
|
||||
"source_sha256": "7b1eae4209ede14807806a4cbce1e2bf7a14d342e75c89042958a524cf60d67e"
|
||||
"source_sha256": "c888111943c622ba5615ea94d1dbb5b8af658af9ad80473d7eb4d441ca933df3"
|
||||
},
|
||||
"shovey-editor-logo": {
|
||||
"source_sha256": "5417341ed432c49d4ce1df45e5e6bf7e07e11a81face45cb93d7cc9fa976f7a5"
|
||||
},
|
||||
"shovey-editor-portrait": {
|
||||
"source_sha256": "bf0bbeb15249f3d73c1b410e9737f7fd207310dcb5f28b7c3ce45401b77c8f9e"
|
||||
"source_sha256": "31bfa6d9f24b38dc18c257854cca54108bb12782698525d0a00da09474458761"
|
||||
},
|
||||
"shovey-editor-preview": {
|
||||
"source_sha256": "bcbf63563187f9dcdb6c7580f638e2fb2770b221240ee5699e54dc3c00be172c"
|
||||
},
|
||||
"shovey-island-landscape": {
|
||||
"source_sha256": "96c8b9b47d11a8ad8928fc5aa4c4ffe96fcffcdf99714b7977c9e6a480aeaf6a"
|
||||
"source_sha256": "f5ed0391991a6b3e9e6c5a166eba82a0583f7af46453eb3e54eb7323e48b7672"
|
||||
},
|
||||
"shovey-island-logo": {
|
||||
"source_sha256": "9b76807f3d3ad89830c7807981bea0088662eea67b858ec59fc05c3790e6ad06"
|
||||
},
|
||||
"shovey-island-portrait": {
|
||||
"source_sha256": "c019dcbb7265bdc207afd8ab968a487fbb0558fc1df489e4f6fa33cdf5ced86a"
|
||||
"source_sha256": "c5f82c8d132919a2158d6391ad1fe8ae6c2092f105bc417cea1218f85dab276f"
|
||||
},
|
||||
"shovey-island-preview": {
|
||||
"source_sha256": "f894c811755fdb4bc44311eb86e810fe55e1adf93f42e2d01afb284e90110ba3"
|
||||
},
|
||||
"shovey-landscape": {
|
||||
"source_sha256": "40c01eb8300e4c5db52b2d75373e17cdaf7f68140c33c0a225613fc174660747"
|
||||
"source_sha256": "4cf897ba7cc21aa012f0c43fef1b497606c82549af2bdf4d4b44357c6578da86"
|
||||
},
|
||||
"shovey-logo": {
|
||||
"source_sha256": "e47781aa3328f68077589f95d813e9c2e6fff10ebd62a9d003773bb2c2f7a092"
|
||||
},
|
||||
"shovey-portrait": {
|
||||
"source_sha256": "ddcbf989eab5971157d8cdc73494ed03660bb4c7a7679543248f45be260777e3"
|
||||
"source_sha256": "177708ab90a776dc1a7b239a9610adcbebd4f97fb7f2b123b6fa3f353af80c82"
|
||||
},
|
||||
"shovey-preview": {
|
||||
"source_sha256": "96db251f36835c76cd03cd0104a6e1b5096e4c442d410960457edcd8e2377a38"
|
||||
|
||||