Skip to content

Commit

Permalink
Update yanked png, change to thin lto, fix cli commands
Browse files Browse the repository at this point in the history
  • Loading branch information
qarmin committed Feb 20, 2024
1 parent c58569e commit 4dbc26e
Show file tree
Hide file tree
Showing 9 changed files with 167 additions and 274 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: rustup default ${{ matrix.toolchain }}

- name: Enable LTO
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
if: ${{ (matrix.type == 'release') }}

- name: Build Release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux_cli_eyra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
cd ..
- name: Enable LTO
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
if: ${{ (matrix.type == 'release') }}

- name: Build Release
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linux_gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: rustup default ${{ matrix.toolchain }}

- name: Enable LTO
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
if: ${{ (matrix.type == 'release') }}

- name: Build Release Krokiet
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
run: rustup default ${{ matrix.toolchain }}

- name: Enable LTO
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
if: ${{ (matrix.type == 'release') }}

- name: Build Release Krokiet heif
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
run: rustup default ${{ matrix.toolchain }}

- name: Enable LTO
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
if: ${{ (matrix.type == 'release') }}

- name: Build Release Heif Libraw
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
run: rustup default ${{ matrix.toolchain }}

- name: Enable LTO
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
if: ${{ (matrix.type == 'release') }}

- name: Build Release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: rustup default ${{ matrix.toolchain }}

- name: Enable LTO
run: sed -i '' 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
run: sed -i '' 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
if: ${{ (matrix.type == 'release') }}

- name: Build Release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
rustup target add x86_64-pc-windows-gnu
- name: Enable LTO
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml

- name: Compile Krokiet
run: cargo build --release --target x86_64-pc-windows-gnu --bin krokiet
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
run: rustup default stable-x86_64-pc-windows-gnu

- name: Enable LTO
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml

- name: Compile Krokiet
run: cargo build --release --bin krokiet
Expand Down
Loading

0 comments on commit 4dbc26e

Please sign in to comment.