Skip to content

Commit 7181eca

Browse files
committed
Strip
1 parent f9e764d commit 7181eca

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/linux.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: rustup default 1.85.0
3131

3232
- name: Build Release
33-
if: ${{ github.ref != 'refs/heads/master' }}
33+
if: ${{ github.ref == 'refs/heads/master' }}
3434
run: |
3535
sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
3636
@@ -51,7 +51,7 @@ jobs:
5151
mv target/release/krokiet linux_krokiet_heif_raw_skia_opengl_${{ env.ARCHNAME }}
5252
5353
- name: Build Debug
54-
if: ${{ github.ref == 'refs/heads/master' }}
54+
if: ${{ github.ref != 'refs/heads/master' }}
5555
run: |
5656
sed -i 's/^\(\[profile\.dev\.package.*\)/#\1/' Cargo.toml
5757
sed -i 's|^opt-level = 3 # OPT PACKAGES|#opt-level = 3 # OPT PACKAGES|' Cargo.toml
@@ -71,6 +71,8 @@ jobs:
7171
mv target/debug/krokiet linux_krokiet_heif_raw_${{ env.ARCHNAME }}
7272
cargo build --bin krokiet --no-default-features --features "winit_skia_opengl,winit_software,heif,libraw"
7373
mv target/debug/krokiet linux_krokiet_heif_raw_skia_opengl_${{ env.ARCHNAME }}
74+
75+
strip linux*
7476
7577
- name: Store
7678
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)