mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 19:23:25 +00:00
build: fix for macos homebrew as discussed in https://github.com/Homebrew/brew/issues/15621
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -120,17 +120,19 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
version: [16, 17]
|
version: [16, 17]
|
||||||
steps:
|
steps:
|
||||||
- name: Update Homebrew
|
- name: Set up Homebrew
|
||||||
run: brew update
|
uses: Homebrew/actions/setup-homebrew@master
|
||||||
|
with:
|
||||||
|
cask: false # remove this if you need `brew install --cask`
|
||||||
|
test-bot: false # remove this if you need `brew test-bot`
|
||||||
- name: Fix Python symlinks
|
- name: Fix Python symlinks
|
||||||
run: |
|
run: |
|
||||||
# Github runners have broken symlinks, so relink
|
# Github runners have broken symlinks, so relink
|
||||||
# see: https://github.com/actions/setup-python/issues/577
|
# see: https://github.com/actions/setup-python/issues/577
|
||||||
brew unlink python
|
brew unlink python@3.11
|
||||||
brew link --overwrite python
|
|
||||||
- name: Install LLVM
|
- name: Install LLVM
|
||||||
run: |
|
run: |
|
||||||
HOMEBREW_NO_AUTO_UPDATE=1 brew install llvm@${{ matrix.version }}
|
brew install llvm@${{ matrix.version }}
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
|
|||||||
Reference in New Issue
Block a user