nocontrolco / elso

Electric Lightning Soccer Overdrive
GNU General Public License v3.0
0 stars 0 forks source link

ELSO project

build

Elso is electronic football game using vehicles. ELSO stands for Electric Lightning Soccer Overdrive.

Setting up Environment

First, one should download the repository informations. If you already have it set in your machine, you can skip to environment creating/updating.

$ git clone git@github.com:nocontrolco/elso.git

Here are the instructions for creating the development environment using miniconda:

$ wget https://repo.anaconda.com/miniconda/Miniconda3-py310_23.1.0-1-Linux-x86_64.sh
$ sh Miniconda3-py310_23.1.0-1-Linux-x86_64.sh
$ conda config --set auto_activate_base true
$ conda env create --file environment.yml
$ conda activate elso

If you already have the conda elso environment created in your maching, it is enough to just run conda env update --file environment.yml --prune, so the packages will be updated/installed.

Building & Testing

Here are the instructions for building up the project and run the tests

$ mkdir build
$ cd build
$ cmake ..
$ cmake --build . --config Release --target all -- -j 10
$ cd ~/Reps/elso/build/tests/cpp
$ ctest -V --output-on-failure
$ pytest ../tests/python -v

For debugging/developing (locally), it's recommended that you run cmake build with --config Debug.

Project Contribution