Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.21 KB

File metadata and controls

36 lines (27 loc) · 1.21 KB

AGENTS.md

Antares Simulator: open-source power system planning tool for long-term adequacy and operational studies.

Build & Test

Configure and build (from src/ directory):

cmake -B ../build-debug -DCMAKE_BUILD_TYPE=Debug
cmake --build ../build-debug -j$(nproc)
cmake --build ../build-debug --target antares-solver  # Specific target

Run tests:

cd build-debug && ctest --output-on-failure
ctest -R "test_name" --output-on-failure              # Specific test

# Python pytest (from src/tests/run-study-tests)
python -m pytest -m json --antares-simu-path=<path_to_solver>

Format code:

cd src && ./format-code.sh

Detailed Guidelines

See also: Contributing Guide