build/.woodpecker/.build-wifi.yml

33 lines
710 B
YAML
Raw Permalink 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'
2023-01-07 01:08:26 +01:00
matrix:
include:
- device: mondrianwifi
version: 20.0
2023-01-07 01:08:26 +01:00
skip_clone: true
pipeline:
build:
pull: true
image: docker.nyyu.dev/lineage/android
environment:
- BUILD_HOSTNAME=docker
2023-01-07 01:08:26 +01:00
commands:
- export HOME=/build
- cd /build
- find /build/out/target/product/$device -type f -name '*.prop' -exec rm -vf {} + || true
- 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
2023-01-07 01:08:26 +01:00
when:
event:
- manual
- cron
2023-01-07 01:08:26 +01:00
depends_on:
- sync