Skip to content

Commit

Permalink
Disabled arm64 builds for releases
Browse files Browse the repository at this point in the history
Re-enabled optimizations: multi-arch builds
are **REALLY** expensive, yo!
  • Loading branch information
Ocramius committed Nov 17, 2022
1 parent c62b910 commit 5f83372
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
with:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
cache-from: |
type=gha,scope=ci-cache
type=gha,scope=release-cache
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ tokio = "^1.21.2"

[profile.release]
opt-level = "z" # Optimize for size. This app is not performance-sensitive, but downloaded often.
#lto = true # Enable Link Time Optimization
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
strip = true # Automatically strip symbols from the binary.

0 comments on commit 5f83372

Please sign in to comment.