AGENT SKILL
ats-build
Basic skills; formatting, compiling, testing, installing.
使用场景测试与质量
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 2.0k
- Forks
- 893
01 前言 Front Matter
- name
- ats-build
- description
- Basic skills; formatting, compiling, testing, installing.
02 资源文件 1
- 参考文档agents/openai.yaml145 B
03 SKILL.md 正文
Build Process
- Which
cmake --list-presets?
- Need HTTP3?
ci-fedora-quiche - Not sure? Ask.
- No build directory yet? Configure one.
- Which target?
- Execute.
Reference
Configure Development Build
cmake --preset <name> [-B <build_dir>] -DENABLE_AUTEST=ON
Build Code Target
cmake --build <build_dir> --target <executable_or_library_target>
Run Unit Test
ctest --test-dir <build_dir> [-R <filter>]
Format
cmake --build <build_dir> --target format
Run AuTest
Options correct? Check:
grep "^AUTEST_OPTIONS" <build_dir>/CMakeCache.txt
Correct? Run:
cmake --build <build_dir> --target autest
Example: Configure Build for Specific AuTest
cmake -B <build_dir> -DAUTEST_OPTIONS="-f <autest_name>"
Install
Install location OK? Check:
grep "^CMAKE_INSTALL_PREFIX" <build_dir>/CMakeCache.txt
Correct? Run:
cmake --install <build_dir>
Key CMake Options
BUILD_EXPERIMENTAL_PLUGINS=ON- Enable experimental pluginsENABLE_QUICHE=ON- QUIC/HTTP3 supportENABLE_CRIPTS=ON- Cripts scripting APIBUILD_REGRESSION_TESTING=ON- Enable test suiteENABLE_ASAN=ON- Configure ASan instrumentation