Skip to content

Commit 3e90203

Browse files
committed
GitHub macOS bindist - Attempt 4
git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@45826 379a1393-f5fb-40a0-bcee-ef074d9b53f7
1 parent c819288 commit 3e90203

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/build-main-on-push.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ jobs:
526526
build_mac:
527527
name: Build macOS Binaries
528528
env:
529-
SHARED_DEPS: "autoconf automake pkg-config xa lame dos2unix libomp"
529+
SHARED_DEPS: "autoconf automake pkg-config xa lame dos2unix libomp libvorbis flac"
530530
needs: [create_release, build_doc]
531531
strategy:
532532
fail-fast: false
@@ -573,9 +573,16 @@ jobs:
573573
574574
- name: Homebrew Install Dependencies
575575
run: |
576+
FLAG="${{ matrix.silicon.brew_prefix }}/Homebrew/.vice_cache_ready"
577+
if [ -f "$FLAG" ]; then
578+
echo "Homebrew cache already warmed: $FLAG exists. Skipping initial brew uninstall."
579+
else
580+
brew list -1 | xargs brew uninstall --force
581+
touch "$FLAG"
582+
echo "Created cache flag: $FLAG"
583+
fi
576584
export HOMEBREW_NO_INSTALL_CLEANUP=1
577585
brew update
578-
brew upgrade || true
579586
brew install ${{ env.SHARED_DEPS }} ${{ matrix.ui.deps }}
580587
581588
- name: Build

0 commit comments

Comments
 (0)