bbopt / nomad

NOMAD - A blackbox optimization software
https://nomad-4-user-guide.readthedocs.io/
GNU Lesser General Public License v3.0
116 stars 24 forks source link

Add back travis file #35

Closed montplaisir closed 3 years ago

montplaisir commented 3 years ago

Using cmake instead of make.

montplaisir commented 3 years ago

@amontoison J'ai remis travis. Je n'arrive pas à faire la compilation avec cmake, as-tu des idées?

montplaisir commented 3 years ago

@salomonl as-tu une idée pourquoi la compilation ne fonctionne pas sur linux?

salomonl commented 3 years ago

Strange, for linux, it does not create the debug/build repertory. Could you try the following script instead ?

mkdir build
cd build
# remove the -S and the -B
cmake -DBUILD_TESTS=ON -DUSE_SGTELIB=OFF -DTEST_OPENMP=OFF ..
make -j4
# If it is just for compilation, for the moment do not try to install.
montplaisir commented 3 years ago

Travis does not launch for my last 2 check-ins, I don't know why. Maybe there is a day limit of runs? I will wait and see.

amontoison commented 3 years ago

Salut Viviane, oui Travis a des restrictions, il faut basculer sur GitHub Actions maintenant. Désolé pour le délai de réponse, je m'occupe d'ouvrir une PR sous peu !

montplaisir commented 3 years ago

Closing this pull request without merge. We will do a "GitHub Actions" instead of Travis.