Most of a build was compiling the same C++ twice per APK with nothing reused between builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Y2iUsKEWDuRGjK5FPmcUP
28 lines
885 B
YAML
28 lines
885 B
YAML
# act_runner settings (full reference: `docker run --rm gitea/act_runner:0.6.1 act_runner generate-config`).
|
|
log:
|
|
level: info
|
|
|
|
runner:
|
|
file: /data/.runner
|
|
# One build at a time: an Android build wants several GB of memory.
|
|
capacity: 1
|
|
timeout: 3h
|
|
labels:
|
|
- "musicshare-android:docker://musicshare-android-builder"
|
|
|
|
cache:
|
|
enabled: false
|
|
|
|
container:
|
|
# Use the locally built deploy/android-builder image rather than pulling from a registry.
|
|
force_pull: false
|
|
privileged: false
|
|
# Use Docker's default network instead of creating one per job: a server with many compose
|
|
# projects runs out of address pools ("all predefined address pools have been fully subnetted").
|
|
network: bridge
|
|
# The volumes the workflow may mount (Gradle, npm and ccache caches), and nothing else.
|
|
valid_volumes:
|
|
- musicshare-gradle
|
|
- musicshare-npm
|
|
- musicshare-ccache
|