2021-08-11 15:58:29 +02:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: archlinux:base-devel
|
|
|
|
commands:
|
2021-08-14 21:13:37 +02:00
|
|
|
- pacman -Sy clang cmake ninja git java-environment glu unzip libglvnd python --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
|
2021-08-11 15:58:29 +02:00
|
|
|
|
|
|
|
...
|