Skip to content

Commit ed090fc

Browse files
committed
ci: install bitwuzla
1 parent 68f6ac6 commit ed090fc

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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*/

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)