This repository has been archived by the owner on Feb 17, 2025. It is now read-only.
Introduce CI for EVM compiler #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: EVM compiler testing | |
on: | |
pull_request: | |
branches: [ evm-compiler ] | |
jobs: | |
test: | |
runs-on: [self-hosted, tests-runner] | |
name: EVM compiler tests | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
token: ${{ secrets.SUBMODULE_CHECKOUT_SECRET || github.token }} | |
- name: Setup Cmake | |
uses: jwlawson/[email protected] | |
with: | |
cmake-version: '3.22.x' | |
- name: Setup Ninja | |
uses: ashutoshvarma/setup-ninja@master | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3' | |
- run: gem install keccak256 | |
- name: Build | |
run: bash llvm/projects/evm-tests/run_evm_tests.sh build | |
- name: Run regression EVM tests | |
run: bash llvm/projects/evm-tests/run_evm_tests.sh test | |
# - name: Run LLVM codegen tests | |
# run: | | |
# ./bin/llvm-lit llvm/test/CodeGen/EVM/*.ll |