31 lines
587 B
YAML
31 lines
587 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: build
|
|
image: archlinux:base-devel
|
|
commands:
|
|
- whoami
|
|
- pacman -Sy
|
|
- pacman -S clang cmake ninja git java-environment glu unzip libglvnd python --noconfirm
|
|
- useradd builduser
|
|
- git clone https://aur.archlinux.org/flutter.git
|
|
- su builduser
|
|
- cd flutter
|
|
- makepkg
|
|
- exit
|
|
- pacman -U flutter*
|
|
- cd ..
|
|
- flutter config --no-analytics
|
|
- flutter config --enable-linux-desktop
|
|
- flutter clean
|
|
- flutter pub get
|
|
- flutter build linux --release --verbose
|
|
|
|
...
|