ci: export foundry path in runner scripts
This commit is contained in:
parent
d351acde78
commit
ea0d35486b
4 changed files with 9 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue