32 lines
840 B
YAML
32 lines
840 B
YAML
variables:
|
|
- &build_vol '/media/fast/lineage/lineage-20.0:/build'
|
|
|
|
matrix:
|
|
include:
|
|
- device: mondrian
|
|
version: 20.0
|
|
|
|
pipeline:
|
|
sync:
|
|
pull: true
|
|
image: docker.nyyu.dev/lineage/android
|
|
commands:
|
|
- HOME=/home/drone
|
|
- git config --global user.email 'drone@nyyu.dev'
|
|
- git config --global user.name 'drone'
|
|
- cd /build
|
|
- rm -rf .repo/repo
|
|
- repo init -u https://github.com/LineageOS-UL/android.git -b lineage-$version -g default,-darwin --git-lfs
|
|
- mkdir -p .repo/local_manifests
|
|
- cp $CI_WORKSPACE/$device.xml .repo/local_manifests/roomservice.xml
|
|
- repo forall -c 'git reset --hard --quiet' || true
|
|
- bash $CI_WORKSPACE/sync.sh
|
|
environment:
|
|
version: '20.0'
|
|
volumes:
|
|
- *build_vol
|
|
when:
|
|
event:
|
|
- manual
|
|
- cron
|