drone-configs/fluffychat.yml

47 lines
1,005 B
YAML
Raw Normal View History

2021-08-11 15:58:29 +02:00
---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: amd64
steps:
2021-08-15 01:42:33 +02:00
- name: prepare
2021-08-11 15:58:29 +02:00
image: archlinux:base-devel
commands:
2021-08-15 01:42:33 +02:00
- pacman -Sy git java-environment glu unzip libglvnd python --noconfirm
2021-08-14 21:13:37 +02:00
- useradd builduser -m
- git clone https://aur.archlinux.org/flutter.git
- chown -R builduser:builduser flutter
- cd flutter && su builduser
- PKGEXT=".pkg.tar" makepkg
2021-08-15 01:42:33 +02:00
- name: build
image: archlinux:base-devel
commands:
- pacman -Sy clang cmake ninja git unzip gtk3 --noconfirm
- pacman -U flutter/flutter-*-x86_64.pkg.tar --noconfirm
2021-08-14 23:07:37 +02:00
- sh scripts/build-linux.sh
2021-08-15 01:42:33 +02:00
- name: bundle
image: archlinux:base-devel
commands:
- cd build/linux/x64/release/bundle/
- tar -a -jcf fluffychat-linux-x86.tgz ./*
2021-08-11 15:58:29 +02:00
2021-08-14 23:07:37 +02:00
- name: release
image: plugins/gitea-release
settings:
base_url: https://git.entr0py.de
api_key:
from_secret: gitea_token
files:
- fluffychat-linux-x86.tgz
note: CHANGELOG.md
checksum:
- md5
- sha256
2021-08-11 15:58:29 +02:00
...