Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
linkcheck doc: we won't fix javasphinx ourselves
[simgrid.git] / .gitlab-ci.yml
index e8291b2..7fbbe3b 100644 (file)
@@ -8,6 +8,10 @@ pages:
   - cd docs
   - LC_ALL=C.UTF-8 ./Build.sh
   - mv build/html ../public
+  # The CSS contains a reference to a font or something, not something we gonna fix on our side
+  # The javasphinx output does not exist in the git, so the "open on GitLab" link is broken.
+  #  I'd like to report this as a bug, but javasphinx seems abandoned upstream. 
+  - linkchecker --check-extern --ignore-url='.*\.css$' --ignore-url=/public/java/org ../public
   artifacts:
     paths:
     - public
@@ -20,13 +24,12 @@ ctest:
   - make VERBOSE=1 all tests && ctest --output-on-failure
 
 release:
-  #only:
-  #- schedules
+  only:
+  - stable
   script:
-  - apt install -y binutils-x86-64-linux-gnu wget
+  - apt update && apt install -y binutils-x86-64-linux-gnu wget unzip zip
   # Build the linux version of the jarfile without the boost dependency
-  - apt remove -y libboost-context-dev  libboost-stacktrace-dev
-  - cmake -Denable_documentation=OFF -Denable_java=ON -Denable_lib_in_jar=ON -Denable_lua=OFF -Denable_compile_optimizations=ON -Denable_smpi=OFF .
+  - cmake -Denable_documentation=OFF -Denable_java=ON -Denable_lib_in_jar=ON -Dminimal_java=ON -Denable_compile_optimizations=ON -Denable_smpi=OFF .
   - make VERBOSE=1 dist simgrid simgrid-java_jar
   # Get the foreign architectures
   - wget https://ci.appveyor.com/api/projects/mquinson/simgrid/artifacts/simgrid.jar -O simgrid-windows.jar