2022-05-02 10:38:15 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: Emerald
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- custom
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: ubuntu:20.04
|
|
|
|
commands:
|
|
|
|
- apt update -yqq && apt install software-properties-common -yqq >/dev/null 2>&1 && add-apt-repository ppa:ubuntu-toolchain-r/test -y && apt install build-essential flex texinfo curl xz-utils gcc-11 g++-11 -yqq >/dev/null 2>&1
|
|
|
|
- ln -sf $(which gcc-11) $(which gcc) && ln -sf $(which g++-11) $(which g++)
|
|
|
|
- bash emerald-binutils.sh && rm -rf build
|
|
|
|
- bash emerald-sysroot.sh
|
|
|
|
- bash emerald-gcc.sh
|
2022-05-06 18:19:12 +00:00
|
|
|
- bash emerald-post-gcc-build.sh
|
2022-05-02 10:38:15 +00:00
|
|
|
- env XZ_OPT="-9 -T0" tar -C /tmp -cJf aarch64-linux-android-emerald.tar.xz aarch64-linux-android-emerald
|
|
|
|
- bash emerald-get-relver.sh
|
|
|
|
|
|
|
|
|
|
|
|
- name: release
|
|
|
|
image: tystuyfzand/drone-gitea-release
|
|
|
|
settings:
|
|
|
|
gitea_server: https://tildegit.org
|
|
|
|
tag_file: tag.txt
|
|
|
|
title_file: title.txt
|
|
|
|
files: [ 'aarch64-linux-android-emerald.tar.xz' ]
|
|
|
|
environment:
|
|
|
|
PLUGIN_API_KEY:
|
|
|
|
from_secret: gitea_token
|