This repository was archived by the owner on Apr 21, 2025. It is now read-only.
File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,20 @@ jobs:
30
30
sudo apt-get -q install -y libedit2 libgcc-9-dev libpython2.7 libsqlite3-0 libstdc++-9-dev \
31
31
libxml2 libz3-dev zlib1g-dev build-essential libncurses5 libxkbcommon0 curl unzip
32
32
33
+ - name : Install Binaryen tools
34
+ run : |
35
+ curl -L -v -o binaryen.tar.gz https://github.com/WebAssembly/binaryen/releases/download/version_113/binaryen-version_113-x86_64-linux.tar.gz
36
+ tar xzvf binaryen.tar.gz
37
+ mv binaryen-version_113 binaryen
38
+ cp binaryen/bin/* /usr/local/bin
39
+
33
40
- name : Build carton
34
41
env :
35
42
GH_TOKEN : ${{ github.token }}
36
43
run : |
37
44
export CARTON_DEFAULT_TOOLCHAIN=wasm-${{ inputs.swift-version }}-version
38
45
gh repo clone swiftwasm/carton -- --branch ${{ inputs.carton-version }} --single-branch
39
46
cd carton
40
- ./install_ubuntu_deps.sh
41
47
swift build -c release
42
48
.build/release/carton --version
43
49
54
60
echo "bundle_name=$wasm_tools_dir.tar.gz" | tee -a $GITHUB_OUTPUT
55
61
mkdir -p $wasm_tools_dir
56
62
mv carton/.build/release/carton $wasm_tools_dir/carton
63
+ mv binaryen/bin/wasm-opt $wasm_tools_dir/wasm-opt
57
64
mv wasm-${{ inputs.swift-version }}-RELEASE $wasm_tools_dir/
58
65
tar czf $wasm_tools_dir.tar.gz $wasm_tools_dir
59
66
You can’t perform that action at this time.
0 commit comments