Skip to content

Commit

Permalink
ci: add toolchain and environment parameters to sanitizers tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbaliasnikov committed Feb 5, 2025
1 parent 504776b commit 7c53199
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ on:
type: string
default: 'eravm'
description: 'Target filter for the era-compiler-tester. Possible values are: `eravm` or `evm`'
toolchain:
required: false
type: string
default: 'llvm-ir'
description: 'Compiler toolchain. Available arguments: `ir-llvm`, `solc`, `solc-llvm`.'
environment:
required: false
type: string
default: 'zk_evm'
description: 'Environment to run tests on. Available arguments: `zk_evm`, `FastVM`, `EVMInterpreter`, `REVM`.'

jobs:
run-with-sanitizers:
Expand Down Expand Up @@ -94,6 +104,8 @@ jobs:
set -x
./target/${TARGET}/debug/compiler-tester \
--target "${{ inputs.target }}" \
--toolchain "${{ inputs.toolchain }}" \
--environment "${{ inputs.environment }}" \
--zksolc "./target-zksolc/${TARGET}/debug/zksolc" \
--zkvyper "./target-zkvyper/${TARGET}/debug/zkvyper" \
--path '${{ inputs.path }}' \
Expand Down

0 comments on commit 7c53199

Please sign in to comment.