perf: backend binary boyutunu düşürmek için Swagger UI opsiyonel yapıldı ve build komutu optimize edildi
All checks were successful
Build MIPS Binary / build (push) Successful in 4m31s
All checks were successful
Build MIPS Binary / build (push) Successful in 4m31s
This commit is contained in:
@@ -48,7 +48,8 @@ jobs:
|
||||
CFLAGS_mips_unknown_linux_musl: "-msoft-float"
|
||||
run: |
|
||||
# Kök dizinden derleyerek workspace profil ayarlarının (LTO, z, strip) uygulanmasını sağlıyoruz
|
||||
cargo zigbuild -p backend --target mips-unknown-linux-musl --release -Z build-std=std,panic_abort
|
||||
# Sadece push-notifications özelliğini aktif ediyoruz (swagger UI kapanır, boyut düşer)
|
||||
cargo zigbuild -p backend --target mips-unknown-linux-musl --release -Z build-std=std,panic_abort --no-default-features --features push-notifications
|
||||
file target/mips-unknown-linux-musl/release/backend
|
||||
|
||||
- name: Rename Binary
|
||||
|
||||
Reference in New Issue
Block a user