a bit more structure
This commit is contained in:
parent
b49ec8d769
commit
b27487d0b6
1 changed files with 21 additions and 8 deletions
|
@ -8,20 +8,30 @@ platform:
|
|||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
- name: prepare
|
||||
image: archlinux:base-devel
|
||||
commands:
|
||||
- pacman -Sy clang cmake ninja git java-environment glu unzip libglvnd python gtk3 --noconfirm
|
||||
- pacman -Sy 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 ..
|
||||
|
||||
- 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
|
||||
- sh scripts/build-linux.sh
|
||||
- tar -a -jcf fluffychat-linux-x86.tgz build/linux/x64/release/bundle/*
|
||||
|
||||
- name: bundle
|
||||
image: archlinux:base-devel
|
||||
commands:
|
||||
- tar -a -v --zstd -cf fluffychat-linux-x86.tar.zst -C build/linux/x64/release/bundle/ .
|
||||
when:
|
||||
ref:
|
||||
- refs/tags/v*
|
||||
|
||||
- name: release
|
||||
image: plugins/gitea-release
|
||||
|
@ -30,9 +40,12 @@ steps:
|
|||
api_key:
|
||||
from_secret: gitea_token
|
||||
files:
|
||||
- fluffychat-linux-x86.tgz
|
||||
note: CHANGELOG.md
|
||||
- fluffychat-linux-x86.tar.zst
|
||||
#note: CHANGELOG.md
|
||||
checksum:
|
||||
- md5
|
||||
- sha256
|
||||
when:
|
||||
ref:
|
||||
- refs/tags/v*
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue