From d7594ab63ccdb86a9fb59778e92a4aa17f4690ef Mon Sep 17 00:00:00 2001 From: Orestis Malaspinas <orestis.malaspinas@hesge.ch> Date: Thu, 4 Oct 2018 10:59:02 +0200 Subject: [PATCH] =?UTF-8?q?mise=20a=20jour=20gitlab-ci=20et=20ajout=20de?= =?UTF-8?q?=20clarifications=20dans=20l'=C3=A9nonc=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 10 +++++++++- 03_tableaux/src/main.rs | 12 ++++++++---- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e7094b9..a37d4e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,13 +3,21 @@ image: omalaspinas/archlinux-pandoc:latest build_only: script: - make -C 01_nombre_secret + - make -C 02_calcul_pi + - make -C 03_tableaux build_artifacts: script: - make -C 01_nombre_secret + - make -C 02_calcul_pi + - make -C 03_tableaux artifacts: paths: - "01_nombre_secret/main.rs" - - "01_nombre_secret/enonce.*" + - "01_nombre_secret/index.*" + - "02_calcul_pi/main.rs" + - "02_calcul_pi/index.*" + - "03_tableaux/main.rs" + - "03_tableaux/index.*" only: - tags diff --git a/03_tableaux/src/main.rs b/03_tableaux/src/main.rs index ea064f1..4721837 100644 --- a/03_tableaux/src/main.rs +++ b/03_tableaux/src/main.rs @@ -42,10 +42,14 @@ //! est incrémenté de un lorsque l'indice est tiré. Utiliser les notions précédentes pour dire //! si le générateur est équitable. //! 11. Utiliser la fonction `plot_barchart_svg`{.rust} de `rust_hepia_lib` afin d'afficher un histogramme -//! afin de sauver l'histogramme sous la forme d'un ficher au format `svg`. Afin d'utiliser cette fonction -//! il faut utiliser la librairie `plotlib` que vous devez télécharger depuis cyberlearn. -//! -//! +//! afin de sauver l'histogramme sous la forme d'un ficher au format `svg`. + +//! ## Remarque +//! Afin d'utiliser `plot_barchart_svg`{.rust} +//! il faut également télécharger la librairie `plotlib` que vous trouverez sur cyberlearn. +//! Il faut extraire l'archive au même niveau que `rust_hepia_lib` (n'oubliez pas de télécharger la dernière version sur <https://githepia.hesge.ch/orestis.malaspin/rust_hepia_lib> +//! pour que cela fonctionne directement. +//! Sinon il vous faudra modifier le fichier `Cargo.toml` de `rust_hepia_lib`. extern crate rust_hepia_lib; use rust_hepia_lib::*; -- GitLab