Skip to content

Commit

Permalink
LTO
Browse files Browse the repository at this point in the history
  • Loading branch information
qarmin committed Feb 26, 2025
1 parent ec8d0ad commit 17d1ba6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/linux_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
run: rustup default 1.85.0

- name: Enable LTO
if: ${{ github.ref == 'refs/heads/master' }}
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml

- name: Build Release with fast_image_resize
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linux_cli_eyra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
cd ..
- name: Enable LTO
if: ${{ github.ref == 'refs/heads/master' }}
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml

- name: Build Release
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/linux_gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
run: rustup default 1.85.0

- name: Enable LTO
if: ${{ github.ref == 'refs/heads/master' }}
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml

- name: Build Release Krokiet
Expand Down Expand Up @@ -53,6 +54,7 @@ jobs:
run: rustup default 1.85.0

- name: Enable LTO
if: ${{ github.ref == 'refs/heads/master' }}
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml

- name: Build Release Krokiet heif
Expand Down Expand Up @@ -88,6 +90,7 @@ jobs:
run: rustup default 1.85.0

- name: Enable LTO
if: ${{ github.ref == 'refs/heads/master' }}
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml

- name: Build Release Heif Libraw
Expand Down Expand Up @@ -133,6 +136,7 @@ jobs:
run: rustup default 1.85.0

- name: Enable LTO
if: ${{ github.ref == 'refs/heads/master' }}
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml

- name: Build Release
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
run: rustup default 1.85.0

- name: Enable LTO
if: ${{ github.ref == 'refs/heads/master' }}
run: sed -i '' 's/#lto = "thin"/lto = "thin"/g' Cargo.toml

- name: Build Release
Expand Down Expand Up @@ -124,6 +125,7 @@ jobs:
run: rustup default 1.85.0

- name: Enable LTO
if: ${{ github.ref == 'refs/heads/master' }}
run: sed -i '' 's/#lto = "thin"/lto = "thin"/g' Cargo.toml

- name: Build Release
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
rustup target add x86_64-pc-windows-gnu
- name: Enable LTO
if: ${{ github.ref == 'refs/heads/master' }}
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml

- name: Compile Krokiet
Expand Down Expand Up @@ -90,6 +91,7 @@ jobs:
run: rustup default 1.85.0-x86_64-pc-windows-gnu

- name: Enable LTO
if: ${{ github.ref == 'refs/heads/master' }}
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml

- name: Compile Krokiet
Expand Down

0 comments on commit 17d1ba6

Please sign in to comment.