File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ workflows:
3838 - prestate-reproducibility :
3939 version : " 1.3.1"
4040 asterisc-commit : " 25feabf"
41+ instruction_check :
42+ jobs :
43+ - build-kona
44+ - run-rv64-matching-tool :
45+ requires :
46+ - build-kona
4147
4248commands :
4349 checkout-with-monorepo :
@@ -414,3 +420,43 @@ jobs:
414420 echo "Prestate did not match expected"
415421 exit 1
416422 fi
423+
424+ build-kona :
425+ machine :
426+ image : ubuntu-2404:current
427+ steps :
428+ - run :
429+ name : Clone Kona Repository
430+ command : |
431+ git clone git@github.com:op-rs/kona.git --depth 1
432+ - run :
433+ name : Install just
434+ command : sudo apt update && sudo apt install just
435+ - run :
436+ name : Build RISCV ELF
437+ command : |
438+ cd kona
439+ just build-asterisc --bin kona --profile release-client-lto
440+ - persist_to_workspace :
441+ root : /home/circleci/project
442+ paths :
443+ - kona/target/riscv64imac-unknown-none-elf/release-client-lto
444+
445+ run-rv64-matching-tool :
446+ docker :
447+ - image : cimg/base:current
448+ steps :
449+ - attach_workspace :
450+ at : .
451+ - checkout
452+ - run :
453+ name : install_python_dep
454+ command : |
455+ pip3 install -r requirements.txt
456+ working_directory : tests/rv64-matching-tool
457+ - run :
458+ name : Run RV64 matching tool
459+ command : |
460+ cd tests
461+ python3 matching_tool.py /root/project/kona/target/riscv64imac-unknown-none-elf/release-client-lto/kona ./supported_targets/asterisc-v1.1.2.json
462+ working_directory : tests/rv64-matching-tool
You can’t perform that action at this time.
0 commit comments