File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -eux -o pipefail
3+
4+ VERSION=0.8.2
5+
6+ mkdir -p " $HOME /.local/bin/"
7+
8+ if [ " $HOST_OS " = " Linux" ]; then
9+ if [ $( uname -m) = " aarch64" ]; then
10+ curl -fsSL -o bitwuzla.zip https://github.com/bitwuzla/bitwuzla/releases/download/0.8.2/Bitwuzla-Linux-arm64-static.zip
11+ elif [ $( uname -m) = " x86_64" ]; then
12+ curl -fsSL -o bitwuzla.zip https://github.com/bitwuzla/bitwuzla/releases/download/0.8.2/Bitwuzla-Linux-x86_64-static.zip
13+ fi
14+ unzip bitwuzla.zip
15+ cp Bitwuzla* /bin/bitwuzla " $HOME /.local/bin/"
16+ fi
17+ if [ " $HOST_OS " = " Windows" ]; then
18+ curl -fsSL " https://github.com/bitwuzla/bitwuzla/releases/download/$VERSION /Bitwuzla-Win64-x86_64-static.zip" -o bitwuzla.zip
19+ unzip bitwuzla.zip
20+ cp Bitwuzla* /bin/bitwuzla.exe " $HOME /.local/bin/"
21+ fi
22+
23+ rm -rf bitwuzla.zip Bitwuzla* /
Original file line number Diff line number Diff line change @@ -243,6 +243,7 @@ jobs:
243243 .github/scripts/install-solc.sh
244244 .github/scripts/install-crytic-compile.sh
245245 .github/scripts/install-z3.sh
246+ .github/scripts/install-bitwuzla.sh
246247 env :
247248 HOST_OS : ${{ runner.os }}
248249 SOLC_VER : ${{ matrix.solc }}
You can’t perform that action at this time.
0 commit comments