Skip to content

Commit

Permalink
Don't know how to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qarmin committed Oct 4, 2024
1 parent 52b5338 commit c885919
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 29 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,28 +59,28 @@ jobs:
path: target/release/krokiet
if: ${{ matrix.type == 'release' }}

# TODO - compilation is broken, not sure why
- name: Build Release Heif
run: cargo build --release --features heif
if: ${{ matrix.type == 'release'}}

- name: Store MacOS CLI Heif
uses: actions/upload-artifact@v4
with:
name: czkawka_cli-${{ runner.os }}-${{ matrix.toolchain }}-heif
path: target/release/czkawka_cli
if: ${{ matrix.type == 'release' }}

- name: Store MacOS GUI Heif
uses: actions/upload-artifact@v4
with:
name: czkawka_gui-${{ runner.os }}-${{ matrix.toolchain }}-heif
path: target/release/czkawka_gui
if: ${{ matrix.type == 'release' }}

- name: Store MacOS Krokiet Heif
uses: actions/upload-artifact@v4
with:
name: krokiet-${{ runner.os }}-${{ matrix.toolchain }}-heif
path: target/release/krokiet
if: ${{ matrix.type == 'release' }}
# # TODO - compilation is broken, not sure why
# - name: Build Release Heif
# run: cargo build --release --features heif
# if: ${{ matrix.type == 'release'}}
#
# - name: Store MacOS CLI Heif
# uses: actions/upload-artifact@v4
# with:
# name: czkawka_cli-${{ runner.os }}-${{ matrix.toolchain }}-heif
# path: target/release/czkawka_cli
# if: ${{ matrix.type == 'release' }}
#
# - name: Store MacOS GUI Heif
# uses: actions/upload-artifact@v4
# with:
# name: czkawka_gui-${{ runner.os }}-${{ matrix.toolchain }}-heif
# path: target/release/czkawka_gui
# if: ${{ matrix.type == 'release' }}
#
# - name: Store MacOS Krokiet Heif
# uses: actions/upload-artifact@v4
# with:
# name: krokiet-${{ runner.os }}-${{ matrix.toolchain }}-heif
# path: target/release/krokiet
# if: ${{ matrix.type == 'release' }}
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion czkawka_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ once_cell = "1.20"
rawloader = "0.37"
imagepipe = "0.5"
libraw-rs = { version = "0.0.4", optional = true }
jxl-oxide = "0.9.0"
jxl-oxide = { version = "0.9.0", default-features = false }

# Checking for invalid extensions
mime_guess = "2.0"
Expand Down
2 changes: 1 addition & 1 deletion czkawka_core/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ pub fn get_all_available_threads() -> usize {
})
}

#[allow(clippy::vec_init_then_push)]
pub fn print_version_mode() {
let rust_version = env!("RUST_VERSION_INTERNAL");
let debug_release = if cfg!(debug_assertions) { "debug" } else { "release" };
Expand All @@ -85,7 +86,6 @@ pub fn print_version_mode() {
let info = os_info::get();

#[allow(unused_mut)]
#[allow(clippy::vec_init_then_push)]
let mut features: Vec<&str> = vec![];
#[cfg(feature = "heif")]
features.push("heif");
Expand Down

0 comments on commit c885919

Please sign in to comment.