chore(appimage): use appimage builder from git #26
| @@ -17,10 +17,12 @@ jobs: | ||||
|       - name: Install required dependencies | ||||
|         run: | | ||||
|             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 | ||||
|         run: pip3 install appimage-builder uv | ||||
|         run: | | ||||
|             pip3 install git+https://github.com/Frederic98/appimage-builder.git | ||||
|             pip3 install uv | ||||
|  | ||||
|       - name: Build AppImage | ||||
|         run: | | ||||
|   | ||||
| @@ -23,10 +23,12 @@ jobs: | ||||
|       - name: Install required dependencies | ||||
|         run: | | ||||
|             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 | ||||
|         run: pip3 install appimage-builder uv | ||||
|         run: | | ||||
|             pip3 install git+https://github.com/Frederic98/appimage-builder.git | ||||
|             pip3 install uv | ||||
|  | ||||
|       - name: Build AppImage | ||||
|         run: | | ||||
|   | ||||
| @@ -68,15 +68,16 @@ jobs: | ||||
|       - name: Install required dependencies | ||||
|         run: | | ||||
|             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 | ||||
|         run: pip3 install appimage-builder uv | ||||
|         run: | | ||||
|             pip3 install git+https://github.com/Frederic98/appimage-builder.git | ||||
|             pip3 install uv | ||||
|  | ||||
|       - name: Build AppImage | ||||
|         run: | | ||||
|           cd build-aux | ||||
|           sed -i '/app_info:/,/- exec:/ s/^(\s*version:\s*).*/\1"0"/' AppImageBuilder.yml | ||||
|           appimage-builder | ||||
|  | ||||
|       - name: Upload AppImage | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| name: Code and build check | ||||
| name: Code check | ||||
|  | ||||
| on: | ||||
|   pull_request: | ||||
| @@ -35,20 +35,3 @@ jobs: | ||||
|         run: | | ||||
|           source .venv/bin/activate | ||||
|           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' | ||||
| AppImage: | ||||
|   sign-key: None | ||||
|   comp: xz | ||||
|   arch: x86_64 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user