From 0b8118452e292ce7e1e09a3d58ff3dbaea9966cf Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Sun, 3 Mar 2024 14:26:13 +0100 Subject: [PATCH] fix(CI): install wasm-opt for x86 macos (#3774) --- .github/workflows/build-macos.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 575f4b8fdef..68d5c6b0296 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -36,6 +36,12 @@ jobs: - name: "Install: protobuf" run: brew install protobuf + - name: "Install: binaryen" + run: | + sudo wget -c https://github.com/WebAssembly/binaryen/releases/download/$BINARYEN_VERSION/binaryen-$BINARYEN_VERSION-x86_64-macos.tar.gz -O - | sudo tar -xz -C . + sudo cp binaryen-$BINARYEN_VERSION/bin/* /usr/local/bin + sudo cp binaryen-$BINARYEN_VERSION/lib/libbinaryen.dylib /usr/local/lib + - name: "Install: Rust toolchain" uses: dsherret/rust-toolchain-file@v1