Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate Minimal Appimage #339

Merged
merged 3 commits into from
May 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,24 @@ jobs:
path: target/release/czkawka_gui
if: ${{ matrix.type == 'release' }}

- name: Minimal AppImage
run: |
pwd
rm -rf czkawka_gui
cp target/release/czkawka_gui .
strip czkawka_gui
wget https://github.com/AppImage/pkg2appimage/releases/download/continuous/pkg2appimage-1806-x86_64.AppImage
chmod +x pkg2appimage-1806-x86_64.AppImage
./pkg2appimage-1806-x86_64.AppImage misc/czkawka-appimage-recipe.yml
mv out/Czkawka*.AppImage out/czkawka_gui-minimal.AppImage

- name: Minimal Appimage Upload
uses: actions/upload-artifact@v2
with:
name: czkawka_gui-${{ matrix.toolchain }}_minimal
path: out/*.AppImage


linux-appimage-gui:
strategy:
matrix:
Expand Down
11 changes: 11 additions & 0 deletions misc/czkawka-appimage-recipe.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
app: Czkawka

ingredients:
script:
- mkdir -p czkawka

script:
- pwd
- cp ../../czkawka_gui ./usr/bin/czkawka_gui
- cp ../../pkgs/com.github.qarmin.czkawka.desktop .
- cp ../../data/icons/com.github.qarmin.czkawka.svg .