build/.woodpecker/.build-lte.yml
nyyu 820ace1a82
Some checks failed
ci/woodpecker/push/sync Pipeline was successful
ci/woodpecker/deployment/sync Pipeline was successful
ci/woodpecker/deployment/publish Pipeline was successful
ci/woodpecker/deployment/final Pipeline was successful
ci/woodpecker/manual/sync Pipeline was successful
ci/woodpecker/manual/build-wifi Pipeline failed
ci/woodpecker/manual/build-lte unknown status
ci/woodpecker/manual/copy unknown status
fix: build ci
2023-04-01 10:25:32 +02:00

36 lines
835 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: mondrianlte
version: 20.0
skip_clone: true
pipeline:
build:
pull: true
image: docker.nyyu.dev/lineage/android
environment:
- BUILD_HOSTNAME=docker
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))"
volumes:
- *build_vol
- *tools_vol
when:
event:
- manual
- cron
depends_on:
- sync
- build-wifi