File tree 1 file changed +4
-4
lines changed
.github/actions/build-wasm
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ runs:
18
18
shell : bash
19
19
run : |
20
20
brew install cmake
21
- brew install llvm
21
+ brew install llvm@18
22
22
brew install binaryen
23
23
curl -sL https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-22/libclang_rt.builtins-wasm32-wasi-22.0.tar.gz | \
24
- tar x -zf - -C /opt/homebrew/opt/llvm/lib/clang/18*
24
+ tar x -zf - -C /opt/homebrew/opt/llvm@18 /lib/clang/18*
25
25
curl -sS -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-22/wasi-sysroot-22.0.tar.gz | \
26
26
sudo tar x -zf - -C /opt
27
27
- name : Install Rust Nightly
32
32
- name : Set environment variable
33
33
shell : bash
34
34
run : |
35
- echo "/opt/homebrew/opt/llvm/bin" >> $GITHUB_PATH
35
+ echo "/opt/homebrew/opt/llvm@18 /bin" >> $GITHUB_PATH
36
36
- name : Flutter pub get
37
37
working-directory : sqlite3
38
38
shell : bash
43
43
working-directory : sqlite3
44
44
shell : bash
45
45
run : |
46
- cmake -Dwasi_sysroot=/opt/wasi-sysroot -Dclang=/opt/homebrew/opt/llvm/bin/clang -S assets/wasm -B .dart_tool/sqlite3_build --toolchain toolchain.cmake
46
+ cmake -Dwasi_sysroot=/opt/wasi-sysroot -Dclang=/opt/homebrew/opt/llvm@18 /bin/clang -S assets/wasm -B .dart_tool/sqlite3_build --toolchain toolchain.cmake
47
47
cmake --build .dart_tool/sqlite3_build/ -t output -j
You can’t perform that action at this time.
0 commit comments