a bit more structure
This commit is contained in:
parent
b49ec8d769
commit
7ce5e2de15
1 changed files with 22 additions and 7 deletions
|
@ -8,20 +8,32 @@ 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:
|
||||
- cd build/linux/x64/release/bundle/
|
||||
- ls -alh
|
||||
- tar -a -v --zstd -cf fluffychat-linux-x86.tar.zst ./*
|
||||
when:
|
||||
ref:
|
||||
- refs/tags/v*
|
||||
|
||||
- name: release
|
||||
image: plugins/gitea-release
|
||||
|
@ -31,8 +43,11 @@ steps:
|
|||
from_secret: gitea_token
|
||||
files:
|
||||
- fluffychat-linux-x86.tgz
|
||||
note: CHANGELOG.md
|
||||
#note: CHANGELOG.md
|
||||
checksum:
|
||||
- md5
|
||||
- sha256
|
||||
when:
|
||||
ref:
|
||||
- refs/tags/v*
|
||||
...
|
||||
|
|
Loading…
Add table
Reference in a new issue