drone-configs/fluffychat.yml
2021-08-14 22:31:43 +02:00

31 lines
692 B
YAML

---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: amd64
steps:
- name: build
image: archlinux:base-devel
commands:
- pacman -Sy clang cmake ninja git java-environment glu unzip libglvnd python gtk3 --noconfirm
- useradd builduser -m
- git clone https://aur.archlinux.org/flutter.git
- chown -R builduser:builduser flutter
- cd flutter && su builduser
- PKGEXT=".pkg.tar" makepkg
- exit
- pacman -U flutter-*-x86_64.pkg.tar --noconfirm
- cd ..
- flutter config --no-analytics
- flutter config --enable-linux-desktop
- flutter clean
- flutter pub get
- flutter build linux --release --verbose
- ls -al build/linux/x64/release
...