1 image: simgrid/build-deps
12 - cmake -Denable_model-checking=OFF -Denable_documentation=OFF -Denable_coverage=OFF -Denable_lua=OFF -Denable_compile_optimizations=ON -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=ON -Denable_compile_warnings=ON -DLTO_EXTRA_FLAG="auto" .
13 - make -j$(nproc) VERBOSE=1 all tests && ctest -j$(nproc) --output-on-failure
24 - apt-get --allow-releaseinfo-change update && apt install -y binutils-x86-64-linux-gnu wget unzip zip
25 # Build the linux version of the jarfile without the boost dependency
26 - cmake -Denable_documentation=OFF -Denable_java=ON -Denable_msg=ON -Denable_lib_in_jar=ON -Dminimal-bindings=ON -Denable_compile_optimizations=ON -Denable_smpi=OFF -DLTO_EXTRA_FLAG="auto" .
27 - make VERBOSE=1 -j$(nproc) dist simgrid simgrid-java_jar
28 # Get the foreign architectures
29 - wget https://ci.appveyor.com/api/projects/mquinson/simgrid/artifacts/simgrid.jar -O simgrid-windows.jar
30 - export SGVER=`printf '#include "simgrid/config.h"\n#if SIMGRID_VERSION_PATCH\nSIMGRID_VERSION_MAJOR.SIMGRID_VERSION_MINOR.SIMGRID_VERSION_PATCH\n#else\nSIMGRID_VERSION_MAJOR.SIMGRID_VERSION_MINOR\n#endif'|gcc -E - -Iinclude|tail -1|sed 's/ //g'`
31 - wget https://ci.inria.fr/simgrid/job/SimGrid/build_mode=Debug,node=osx/lastSuccessfulBuild/artifact/build/simgrid-${SGVER}/build/simgrid.jar -O simgrid-mac.jar
32 # Open all jar files, and strip them
33 - mkdir content ; cd content
34 - for j in ../simgrid.jar ../simgrid-windows.jar ../simgrid-mac.jar ; do unzip -n $j ; done
35 - strip NATIVE/*/*/*.so
36 - x86_64-linux-gnu-strip NATIVE/*/*/lib*dll
37 - zip -r ../simgrid-${SGVER}.jar *
49 - apt-get --allow-releaseinfo-change update && apt install -y python3-pip cmake libboost-dev g++ gcc pybind11-dev
50 - python3 setup.py sdist
51 - cd dist && tar xfz simgrid*.tar.gz && cd simgrid-*/ && python3 setup.py build
56 - pip3 install --requirement docs/requirements.txt
57 - cd docs/source/_ext/javasphinx; python3 setup.py build; python3 setup.py install
59 - LC_ALL=C.UTF-8 ./Build.sh
60 - mv build/html ../public
61 # - The CSS contains a reference to a font or something, not something we gonna fix on our side
62 # - The javasphinx output does not exist in the git, so the "edit on FramaGit" link is broken.
63 # I'd like to report this as a bug, but javasphinx seems abandonned upstream.
64 #not installed - linkchecker --ignore-url='.*\.css$' --ignore-url=public/java/org ../public
65 # From time to time, we should check external links with the
66 # following, but it has a lot of false positive
67 # - linkchecker --ignore-url='.*\.css$' --ignore-url=public/java/org --check-extern ../public