picker/test
Makiras 82ff87768f
[feat] add ci tests and workflow optimization
chore(ci,test,build): add CI/tests for GSIM, .sv and Java; xcomm fallback; test preflight
- CI: install default-jdk for Java tests
- Tests: add GSIM export smoke, .sv verilator build, Java export
- test/Makefile: add preflight to auto-clean + rebuild with python+java when missing
- Build: Makefile init falls back to latest master for xcomm when branch missing
- Wire new tests into default test targets
- Run build-and-test and appimage-build on all branches
- Restrict appimage-publish and docker-build-push to master
- Reuse build directory via artifact between jobs to avoid rebuilds
- Fix deps: install swig in CI and AppImage job
- Makefile appimage target reuses existing build/ for install & packing
- Remove standalone AppImage/docker workflows to prevent duplicate runs
- build-and-test: install base toolchain and Kitware CMake
- Build and install SWIG v4.2.1 from source
- Build and install Verilator v5.018 from source
- appimage-build: reuse build/ artifact; minimal deps (appimagetool, linuxdeploy)
- Keep: appimage-build on all branches; publish/docker only on master
- 在 test/Makefile 中让 smoke、sv_build、gsim_smoke 依赖 preflight
- 避免 preflight 执行 clean/rebuild 时其他并发目标找不到构建产物
- preflight 完成后仍保留测试阶段的并行度
2025-09-03 14:24:53 +08:00
..
cmake [feat] add ci tests and workflow optimization 2025-09-03 14:24:53 +08:00
scripts [feat] add ci tests and workflow optimization 2025-09-03 14:24:53 +08:00
CMakeLists.txt [feat] add ci tests and workflow optimization 2025-09-03 14:24:53 +08:00
Makefile [feat] add ci tests and workflow optimization 2025-09-03 14:24:53 +08:00
README.md [feat] add ci tests and workflow optimization 2025-09-03 14:24:53 +08:00
test_parser_internalcfg.cpp fix: date version compile error and warnings 2025-04-30 11:23:00 +08:00
test_parser_verilator_root.cpp Add backend simulator GSIM support (#50) 2025-08-13 15:16:15 +08:00
test_picker_utils.cpp [feat] add ci tests and workflow optimization 2025-09-03 14:24:53 +08:00
test_templategen.cpp fix #24 : remove dpi set function for output signal, which case multi-driven 2024-12-12 06:11:36 +00:00

README.md

Picker test suite

Overview

  • Provides lightweight scripts to validate picker CLI and core flows.
  • Focuses on Verilator + Python by default to minimize toolchain needs.

Prerequisites

  • Built picker binary at ./build/bin/picker (or installed picker in PATH).
  • Verilator (>=4.218), CMake (>=3.11), a C++ compiler, Python3.
  • Verible verible-verilog-syntax in PATH for export examples.

Usage

  • Run all: make -C test all
  • Smoke only (no builds): make -C test smoke
  • Individual:
    • make -C test export_python
    • make -C test export_vpi_python
    • make -C test pack_python

Notes

  • Tests write to subfolders in the repo (e.g. picker_out_*, pack_example).
  • Clean with make -C test clean.