build/.woodpecker/.build-wifi.yml
nyyu 6309b72994
All checks were successful
ci/woodpecker/push/sync Pipeline was successful
mondrian: build both variant
2023-01-07 10:13:31 +01:00

33 lines
748 B
YAML

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:
- cd /build
- find /build/out/target/product/$device -type f -name '*.prop' -exec rm -vf {} +
- bash -c ". build/envsetup.sh && lunch lineage_$device-userdebug && mka bacon -j6"
volumes:
- *build_vol
- *tools_vol
when:
event:
- manual
- cron
depends_on:
- sync