Skip to content

Commit 198cee0

Browse files
authored
Merge branch 'qarmin:master' into master
2 parents 8bcfa7a + 12ab601 commit 198cee0

File tree

101 files changed

+5242
-3846
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+5242
-3846
lines changed

.github/workflows/linux_cli.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
linux-cli:
1313
strategy:
1414
matrix:
15-
toolchain: [ stable, 1.75.0 ]
15+
toolchain: [ stable, 1.79.0 ]
1616
type: [ release ]
1717
runs-on: ubuntu-20.04
1818
steps:

.github/workflows/linux_cli_eyra.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
# New versions of nightly rust may call new unimplemented in eyra functions, so use const version
2525
- name: Setup rust version
26-
run: rustup default nightly-2024-02-06
26+
run: rustup default nightly-2024-09-25
2727

2828
- name: Add eyra
2929
run: |

.github/workflows/linux_gui.yml

+16-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
linux-krokiet-gui:
1313
strategy:
1414
matrix:
15-
toolchain: [ stable, 1.75.0 ]
15+
toolchain: [ stable, 1.79.0 ]
1616
type: [ release ]
1717
runs-on: ubuntu-20.04
1818
steps:
@@ -39,7 +39,7 @@ jobs:
3939
linux-krokiet-gui-heif:
4040
strategy:
4141
matrix:
42-
toolchain: [ stable, 1.75.0 ]
42+
toolchain: [ stable, 1.79.0 ]
4343
type: [ release ]
4444
runs-on: ubuntu-22.04
4545
steps:
@@ -69,7 +69,7 @@ jobs:
6969
linux-gui:
7070
strategy:
7171
matrix:
72-
toolchain: [ stable, 1.75.0 ]
72+
toolchain: [ stable, 1.79.0 ]
7373
type: [ release ]
7474
runs-on: ubuntu-22.04
7575
steps:
@@ -118,7 +118,7 @@ jobs:
118118
- uses: actions/checkout@v4
119119

120120
- name: Install Dependencies
121-
run: sudo apt update || true; sudo apt install libgtk-4-dev libheif-dev librsvg2-dev wget fuse libfuse2 -y
121+
run: sudo apt update || true; sudo apt install libgtk-4-dev libheif-dev librsvg2-dev wget fuse libfuse2 desktop-file-utils -y
122122

123123
- name: Setup rust version
124124
run: rustup default ${{ matrix.toolchain }}
@@ -135,19 +135,30 @@ jobs:
135135
pwd
136136
wget -c "https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh"
137137
wget -c "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage"
138+
wget -c "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
138139
chmod +x linuxdeploy-plugin-gtk.sh
139140
chmod +x linuxdeploy-x86_64.AppImage
141+
chmod +x appimagetool-x86_64.AppImage
140142
mkdir -p AppDir/usr/bin
141143
pwd
142144
cp target/release/czkawka_gui AppDir/usr/bin
143-
./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin gtk --output appimage --icon-file data/icons/com.github.qarmin.czkawka.svg --desktop-file data/com.github.qarmin.czkawka.desktop
145+
./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin gtk --icon-file data/icons/com.github.qarmin.czkawka.svg --desktop-file data/com.github.qarmin.czkawka.desktop
146+
./appimagetool-x86_64.AppImage --comp zstd --mksquashfs-opt -Xcompression-level --mksquashfs-opt 20 \
147+
-u "gh-releases-zsync|$GITHUB_REPOSITORY_OWNER|czkawka|latest|*.AppImage.zsync" \
148+
./AppDir
144149
145150
- name: Store Linux Appimage GUI
146151
uses: actions/upload-artifact@v4
147152
with:
148153
name: czkawka_gui-appimage-${{ runner.os }}-${{ matrix.toolchain }}
149154
path: Czkawka*.AppImage
150155

156+
- name: Store Linux Appimage GUI Zsync
157+
uses: actions/upload-artifact@v4
158+
with:
159+
name: czkawka_gui-appimage-${{ runner.os }}-${{ matrix.toolchain }}.zsync
160+
path: Czkawka*.AppImage.zsync
161+
151162
- name: Minimal AppImage
152163
run: |
153164
pwd

.github/workflows/mac.yml

+25-24
Original file line numberDiff line numberDiff line change
@@ -59,27 +59,28 @@ jobs:
5959
path: target/release/krokiet
6060
if: ${{ matrix.type == 'release' }}
6161

62-
- name: Build Release Heif
63-
run: cargo build --release --features heif
64-
if: ${{ matrix.type == 'release'}}
65-
66-
- name: Store MacOS CLI Heif
67-
uses: actions/upload-artifact@v4
68-
with:
69-
name: czkawka_cli-${{ runner.os }}-${{ matrix.toolchain }}-heif
70-
path: target/release/czkawka_cli
71-
if: ${{ matrix.type == 'release' }}
72-
73-
- name: Store MacOS GUI Heif
74-
uses: actions/upload-artifact@v4
75-
with:
76-
name: czkawka_gui-${{ runner.os }}-${{ matrix.toolchain }}-heif
77-
path: target/release/czkawka_gui
78-
if: ${{ matrix.type == 'release' }}
79-
80-
- name: Store MacOS Krokiet Heif
81-
uses: actions/upload-artifact@v4
82-
with:
83-
name: krokiet-${{ runner.os }}-${{ matrix.toolchain }}-heif
84-
path: target/release/krokiet
85-
if: ${{ matrix.type == 'release' }}
62+
# TODO - compilation is broken, not sure why
63+
# - name: Build Release Heif
64+
# run: cargo build --release --features heif
65+
# if: ${{ matrix.type == 'release'}}
66+
#
67+
# - name: Store MacOS CLI Heif
68+
# uses: actions/upload-artifact@v4
69+
# with:
70+
# name: czkawka_cli-${{ runner.os }}-${{ matrix.toolchain }}-heif
71+
# path: target/release/czkawka_cli
72+
# if: ${{ matrix.type == 'release' }}
73+
#
74+
# - name: Store MacOS GUI Heif
75+
# uses: actions/upload-artifact@v4
76+
# with:
77+
# name: czkawka_gui-${{ runner.os }}-${{ matrix.toolchain }}-heif
78+
# path: target/release/czkawka_gui
79+
# if: ${{ matrix.type == 'release' }}
80+
#
81+
# - name: Store MacOS Krokiet Heif
82+
# uses: actions/upload-artifact@v4
83+
# with:
84+
# name: krokiet-${{ runner.os }}-${{ matrix.toolchain }}-heif
85+
# path: target/release/krokiet
86+
# if: ${{ matrix.type == 'release' }}

0 commit comments

Comments
 (0)