mirror of
https://ghproxy.net/https://github.com/bohdanbobrowski/blog2epub.git
synced 2026-07-27 13:07:20 +08:00
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
39 lines
1.2 KiB
YAML
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
|