From 1c6cfca30d23800569e068e0ba2753d0ee8ab9d9 Mon Sep 17 00:00:00 2001
From: Kubat <mael.martin31@gmail.com>
Date: Wed, 12 Oct 2022 20:57:07 +0200
Subject: [PATCH] CI: Try to build the rust things before to have the
 stdout/stderr in the CI logs

---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 51356792..c38e2942 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,6 +31,8 @@
         - ./rustup.sh -y --default-toolchain beta
         - source ~/.cargo/env
     script:
+        - ~/.cargo/bin/cargo build --manifest-path src/rust/liblektor-rs/Cargo.toml
+        - ~/.cargo/bin/cargo build --manifest-path src/rust/amadeus-rs/Cargo.toml
         - cmake -Bbuild -DCMAKE_RUST_COMPILER=~/.cargo/bin/cargo -DCMAKE_C_COMPILER=${c_compiler} -DCMAKE_CXX_COMPILER=${cxx_compiler} && make -Cbuild
 
 variables:
-- 
GitLab