Tools for continuous integration and local testing for SWMM and EPANET
Before the project can be built and tested the required dependencies must be installed.
Summary of Build Dependencies: Windows
-
Build
- Build Tools for Visual Studio 2017
- CMake 3.17
-
Regression Test
- Python 3.7 64 bit
- curl
- git
- 7z
Once Python is present, the following command installs the required packages for regression testing.
\> cd < PROJECT_ROOT >
\>pip install -r tools\requirements-< PROJECT >.txt
EPANET can be built with one simple command.
\>tools\make.cmd
This command runs regression tests for the local build and compares them to the latest benchmark.
\>tools\before-nrtest.cmd
\>tools\run-nrtest.cmd