Compare commits
1 Commits
dac13e6477
...
06c2810111
Author | SHA1 | Date | |
---|---|---|---|
06c2810111
|
@ -17,10 +17,12 @@ jobs:
|
|||||||
- name: Install required dependencies
|
- name: Install required dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y binutils coreutils desktop-file-utils gtk-update-icon-cache fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-dev python3-setuptools squashfs-tools strace util-linux zsync
|
sudo apt install -y binutils coreutils desktop-file-utils gtk-update-icon-cache fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-dev python3-setuptools squashfs-tools strace util-linux zsync git
|
||||||
|
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
run: pip3 install appimage-builder uv
|
run: |
|
||||||
|
pip3 install git+https://github.com/AppImageCrafters/appimage-builder.git
|
||||||
|
pip3 install uv
|
||||||
|
|
||||||
- name: Build AppImage
|
- name: Build AppImage
|
||||||
run: |
|
run: |
|
||||||
|
@ -23,10 +23,12 @@ jobs:
|
|||||||
- name: Install required dependencies
|
- name: Install required dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y binutils coreutils desktop-file-utils gtk-update-icon-cache fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-dev python3-setuptools squashfs-tools strace util-linux zsync
|
sudo apt install -y binutils coreutils desktop-file-utils gtk-update-icon-cache fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-dev python3-setuptools squashfs-tools strace util-linux zsync git
|
||||||
|
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
run: pip3 install appimage-builder uv
|
run: |
|
||||||
|
pip3 install git+https://github.com/AppImageCrafters/appimage-builder.git
|
||||||
|
pip3 install uv
|
||||||
|
|
||||||
- name: Build AppImage
|
- name: Build AppImage
|
||||||
run: |
|
run: |
|
||||||
|
@ -68,15 +68,16 @@ jobs:
|
|||||||
- name: Install required dependencies
|
- name: Install required dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y binutils coreutils desktop-file-utils gtk-update-icon-cache fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-dev python3-setuptools squashfs-tools strace util-linux zsync
|
sudo apt install -y binutils coreutils desktop-file-utils gtk-update-icon-cache fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-dev python3-setuptools squashfs-tools strace util-linux zsync git
|
||||||
|
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
run: pip3 install appimage-builder uv
|
run: |
|
||||||
|
pip3 install git+https://github.com/AppImageCrafters/appimage-builder.git
|
||||||
|
pip3 install uv
|
||||||
|
|
||||||
- name: Build AppImage
|
- name: Build AppImage
|
||||||
run: |
|
run: |
|
||||||
cd build-aux
|
cd build-aux
|
||||||
sed -i '/app_info:/,/- exec:/ s/^(\s*version:\s*).*/\1"0"/' AppImageBuilder.yml
|
|
||||||
appimage-builder
|
appimage-builder
|
||||||
|
|
||||||
- name: Upload AppImage
|
- name: Upload AppImage
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
name: Code and build check
|
name: Code check
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -35,20 +35,3 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
pre-commit run --show-diff-on-failure --color=always --all-files
|
pre-commit run --show-diff-on-failure --color=always --all-files
|
||||||
|
|
||||||
build-uv:
|
|
||||||
name: Build with uv
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: https://gitea.com/actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install uv
|
|
||||||
uses: https://github.com/astral-sh/setup-uv@v6
|
|
||||||
with:
|
|
||||||
enable-cache: true
|
|
||||||
|
|
||||||
- name: Sync dependencies
|
|
||||||
run: uv sync
|
|
||||||
|
|
||||||
- name: Build project
|
|
||||||
run: uv build
|
|
||||||
|
@ -82,4 +82,5 @@ AppDir:
|
|||||||
PERLLIB: '${APPDIR}/usr/share/perl5:${APPDIR}/usr/lib/x86_64-linux-gnu/perl/5.34:${APPDIR}/usr/share/perl/5.34'
|
PERLLIB: '${APPDIR}/usr/share/perl5:${APPDIR}/usr/lib/x86_64-linux-gnu/perl/5.34:${APPDIR}/usr/share/perl/5.34'
|
||||||
AppImage:
|
AppImage:
|
||||||
sign-key: None
|
sign-key: None
|
||||||
|
comp: xz
|
||||||
arch: x86_64
|
arch: x86_64
|
||||||
|
Reference in New Issue
Block a user