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 # This cannot work anymore because Java is now built by the modelchecker jenkins configuration, that is not on macosx
29 # Please use the github action instead
30 # - make VERBOSE=1 -j$(nproc) dist simgrid simgrid-java_jar
31 # # Get the foreign architectures
32 # - wget https://ci.appveyor.com/api/projects/mquinson/simgrid/artifacts/simgrid.jar -O simgrid-windows.jar
33 # - export SGVER=`grep SimGrid ChangeLog|head -n1|sed -e 's/SimGrid (//' -e 's/).*//'`
34 # - wget https://ci.inria.fr/simgrid/job/SimGrid/build_mode=Debug,node=macos/lastSuccessfulBuild/artifact/build/simgrid-${SGVER}/build/simgrid.jar -O simgrid-mac.jar
35 # # Open all jar files, and strip them
36 # - mkdir content ; cd content
37 # - for j in ../simgrid.jar ../simgrid-windows.jar ../simgrid-mac.jar ; do unzip -n $j ; done
38 # - strip NATIVE/*/*/*.so
39 # - x86_64-linux-gnu-strip NATIVE/*/*/lib*dll
40 # - zip -r ../simgrid-${SGVER}.jar *
52 - apt-get --allow-releaseinfo-change update && apt install -y python3-pip cmake libboost-dev g++ gcc pybind11-dev
53 - python3 setup.py sdist
54 - cd dist && tar xfz simgrid*.tar.gz && cd simgrid-*/ && python3 setup.py build
59 - pip3 install --requirement docs/requirements.txt
60 - cd docs/source/_ext/javasphinx; python3 setup.py build; python3 setup.py install
62 - LC_ALL=C.UTF-8 ./Build.sh
63 - mv build/html ../public
64 # - The CSS contains a reference to a font or something, not something we gonna fix on our side
65 # - The javasphinx output does not exist in the git, so the "edit on FramaGit" link is broken.
66 # I'd like to report this as a bug, but javasphinx seems abandonned upstream.
67 #not installed - linkchecker --ignore-url='.*\.css$' --ignore-url=public/java/org ../public
68 # From time to time, we should check external links with the
69 # following, but it has a lot of false positive
70 # - linkchecker --ignore-url='.*\.css$' --ignore-url=public/java/org --check-extern ../public