ci: export foundry path in runner scripts

This commit is contained in:
openhands 2025-10-13 18:15:13 +00:00
parent d351acde78
commit ea0d35486b
4 changed files with 9 additions and 4 deletions

View file

@ -25,6 +25,7 @@ steps:
bash -lc '
set -euo pipefail
cd onchain
export PATH=/root/.foundry/bin:$PATH
forge --version
forge build
forge test -vvv

View file

@ -27,6 +27,7 @@ steps:
bash -lc '
set -euo pipefail
cd onchain
export PATH=/root/.foundry/bin:$PATH
forge build
forge test -vv --ffi
forge snapshot
@ -66,6 +67,7 @@ steps:
set -euo pipefail
cd onchain
export BASE_SEPOLIA_RPC="$BASE_SEPOLIA_RPC"
export PATH=/root/.foundry/bin:$PATH
forge build
forge test -vv --ffi
forge snapshot

View file

@ -28,6 +28,7 @@ steps:
apt-get install -y bc
fi
cd onchain
export PATH=/root/.foundry/bin:$PATH
forge --version
./analysis/run-fuzzing.sh BullMarketOptimizer runs=75
'

View file

@ -85,10 +85,11 @@ steps:
npm ci --prefix landing --no-audit --no-fund
npm ci --prefix web-app --no-audit --no-fund
npm ci --prefix services/ponder --no-audit --no-fund
npm ci --prefix services/txnBot --no-audit --no-fund
npm ci --no-audit --no-fund
forge --version
(cd onchain && forge build)
npm ci --prefix services/txnBot --no-audit --no-fund
npm ci --no-audit --no-fund
export PATH=/root/.foundry/bin:$PATH
forge --version
(cd onchain && forge build)
npm run build --prefix landing
npm run build --prefix web-app
npm run build --prefix services/ponder