Skip to content

Commit 9a8b26e

Browse files
committed
test 3
1 parent ac41e4f commit 9a8b26e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/test-and-publish.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,15 @@ jobs:
8888
if: ${{ matrix.os == 'macos-13' && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
8989
# SpiderMonkey requires XCode SDK version at least 13.3
9090
run: sudo xcode-select -switch /Applications/Xcode_14.3.app
91+
- name: Setup LLVM
92+
if: ${{ (matrix.os == 'macos-13' || matrix.os == 'macos-14') && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
93+
run: |
94+
brew install llvm@15
95+
ln -s $(brew --prefix llvm@15)/bin/lld /usr/local/bin/lld
96+
ln -s $(brew --prefix llvm@15)/bin/ld64.lld /usr/local/bin/ld64.lld
97+
ln -s $(brew --prefix llvm@15)/bin/llvm-install-name-tool /usr/local/bin/llvm-install-name-tool
98+
ld64.lld --version
99+
llvm-install-name-tool --version
91100
- name: Build spidermonkey
92101
if: ${{ steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
93102
run: ./setup.sh

setup.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then # Linux
1818
elif [[ "$OSTYPE" == "darwin"* ]]; then # macOS
1919
brew update || true # allow failure
2020
brew install cmake pkg-config wget unzip coreutils # `coreutils` installs the `realpath` command
21-
brew install llvm@15
22-
brew install lld
2321
elif [[ "$OSTYPE" == "msys"* ]]; then # Windows
2422
echo "Dependencies are not going to be installed automatically on Windows."
2523
else

0 commit comments

Comments
 (0)