building intel mac app (#878)

Co-authored-by: Max Novich <mnovich@squareup.com>
This commit is contained in:
Michael Neale
2025-03-04 08:12:14 +11:00
committed by GitHub
parent b96fed55ea
commit 426da76cd3
12 changed files with 795 additions and 282 deletions
+26 -1
View File
@@ -76,6 +76,31 @@ jobs:
cargo test
working-directory: crates
# Add disk space cleanup before linting
- name: Check disk space before cleanup
run: df -h
- name: Clean up disk space
run: |
echo "Cleaning up disk space..."
# Remove debug artifacts that are no longer needed after tests
rm -rf target/debug/deps
rm -rf target/debug/build
rm -rf target/debug/incremental
# Clean npm cache if it exists
npm cache clean --force || true
# Clean apt cache
sudo apt-get clean
# Remove unnecessary large directories
rm -rf ~/.cargo/registry/index || true
# Remove docker images if any
docker system prune -af || true
# Remove unused packages
sudo apt-get autoremove -y || true
- name: Check disk space after cleanup
run: df -h
- name: Lint
run: cargo clippy -- -D warnings
@@ -104,4 +129,4 @@ jobs:
uses: ./.github/workflows/bundle-desktop.yml
if: github.event_name == 'pull_request'
with:
signing: false
signing: false