build/.woodpecker/.build-wifi.yml

35 lines
821 B
YAML
Raw Normal View History

2023-01-07 01:08:26 +01:00
variables:
- &build_vol '/media/fast/lineage/lineage-20.0:/build'
- &tools_vol '/media/fast/lineage/tools:/tools'
- &http_vol '/srv/http/drone:/http'
- &pub_vol '/mnt/android/lineage:/publish'
matrix:
include:
- device: mondrianwifi
version: 20.0
skip_clone: true
pipeline:
build:
pull: true
image: docker.nyyu.dev/lineage/android
environment:
- BUILD_HOSTNAME=docker
commands:
2023-04-01 08:30:48 +02:00
- export HOME=/build
2023-01-07 01:08:26 +01:00
- cd /build
2023-03-26 14:26:25 +02:00
- find /build/out/target/product/$device -type f -name '*.prop' -exec rm -vf {} + || true
2023-04-01 10:25:32 +02:00
- bash -c ". build/envsetup.sh && lunch lineage_$device-userdebug && (mka bacon -j6 || (cat out/build_error && exit 1))"
2023-01-07 01:08:26 +01:00
volumes:
- *build_vol
- *tools_vol
when:
event:
- manual
- cron
depends_on:
2023-03-26 12:57:31 +02:00
- sync