Skip to content

Commit 2d2c829

Browse files
committed
Move AGENTS.md to root folder
GitOrigin-RevId: 571b2bb09f96383737ac23c88b41f1a1e4d60e40
1 parent e19cbce commit 2d2c829

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# AGENTS.md
2+
3+
## Testing
4+
5+
To test this rules there are real tests - those can be executed via:
6+
7+
`cd tests && bazel test --config=gcc13 //...`
8+
9+
Note the Bazel config depends on the use operating system and compiler setup.
10+
Use `--config=gcc13` for Ubuntu 24.04 and GCC13,
11+
use `--config=vs2022` for Windows and Visual Studio 2022,
12+
and use `--config=macos` for macOS and Apple Clang.
13+
14+
Besies real test, there a also some test project located in the tests folder.
15+
16+
A minimal criteria for change and modification to this codebase is to ensure that
17+
the project in the tests folder can be build without any problems, i.e.:
18+
19+
20+
```shell
21+
bazel build --config=gcc13 //hello_world:hello_world
22+
bazel build --config=gcc13 //horch:main
23+
bazel build --config=gcc13 //moc_test:main
24+
bazel build --config=gcc13 //qml_demo:qt_demo
25+
bazel build --config=gcc13 //uic_demo:main
26+
```
27+
28+
You should also be able to run this binary:
29+
30+
```shell
31+
bazel run --config=gcc13 //moc_test:main
32+
```

0 commit comments

Comments
 (0)