blog2epub/.github/workflows/linux_build.yml
Bohdan Bobrowski 97ab6fe307
Some checks failed
Code check and unit tests / code_check (3.12) (push) Failing after 2s
Linux build / linux-build (push) Failing after 1s
Code check and unit tests / unit_tests (3.12) (push) Has been skipped
Windows build / windows-build (push) Has been cancelled
MacOS build / macos-build (push) Has been cancelled
AppImage
2025-11-27 21:04:58 +01:00

39 lines
1.2 KiB
YAML

name: Linux build
on:
push:
branches:
- master
env:
KIVY_GL_BACKEND: angle_sdl2
jobs:
linux-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create Executable
uses: JackMcKew/pyinstaller-action-linux@main
with:
spec: 'blog2epub_linux.spec'
- uses: actions/upload-artifact@v4
with:
name: blog2epub_v1.5.0_linux
path: src/dist/blog2epub
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libsdl2-dev libmtdev-dev libsdl2-2.0-0 libsdl2-image-2.0-0 libsdl2-mixer-2.0-0
sudo apt-get install -y libsdl2-ttf-2.0-0 libsdl2-image-dev xclip xsel
- name: Create installer
run: |
wget -O appimagetool-x86_64.AppImage https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
chmod +x appimagetool-x86_64.AppImage
sudo mv appimagetool-x86_64.AppImage /usr/local/bin/appimagetool
bash ./make_linux_appimage.sh
- uses: actions/upload-artifact@v4
with:
name: blog2epub_v1.5.0.AppImage
path: ./dist/blog2epub_v1.5.0.AppImage