ci: add Gitea Actions binary build pipeline
Some checks failed
build-binaries / linux (push) Failing after 5m52s

This commit is contained in:
Nix
2026-05-13 13:55:08 +08:00
parent c554c07bfc
commit 5dd77abb0f

View File

@ -0,0 +1,50 @@
name: build-binaries
on:
push:
branches:
- main
tags:
- 'v*'
workflow_dispatch:
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install OS deps
run: |
sudo apt-get update
sudo apt-get install -y python3-venv libfuse2 wget
- name: Build Linux binary
run: bash build/build_linux.sh
- name: Install appimagetool
run: |
wget -O /tmp/appimagetool.AppImage \
https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
chmod +x /tmp/appimagetool.AppImage
sudo mv /tmp/appimagetool.AppImage /usr/local/bin/appimagetool
- name: Build AppImage
run: bash build/build_appimage.sh
- name: Upload binary artifacts
uses: actions/upload-artifact@v4
with:
name: TrulyMEM-linux-${{ github.sha }}
path: |
dist/TrulyMEM
dist/TrulyMEM.desktop
dist/TrulyMEM.AppImage
if-no-files-found: error
retention-days: 30