From 7364d09da92fe52d5eef98dde97cdcbb56d371f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xory=20=E2=80=8B?= Date: Wed, 17 Apr 2024 11:51:37 +0000 Subject: [PATCH] fix: gogo gadget 3000 apt commands --- .gitlab-ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1dffc41..592214e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,15 +18,21 @@ image: "rust:latest" build:cargo: script: + - apt-get update -yqq + - apt-get upgrade -yqq + - apt-get install -yqq --no-install-recommends build-essential + - apt-get install -yqq --no-install-recommends gcc - curl https://sh.rustup.rs -sSf | sh -s -- -y - - . "$HOME/.cargo/env" - rustc --version && cargo --version - cargo build # Use cargo to test the project test:cargo: script: + - apt-get update -yqq + - apt-get upgrade -yqq + - apt-get install -yqq --no-install-recommends build-essential + - apt-get install -yqq --no-install-recommends gcc - curl https://sh.rustup.rs -sSf | sh -s -- -y - - . "$HOME/.cargo/env" - - rustc --version && cargo --version # Print version info for debugging + - rustc --version && cargo --version - cargo test --workspace --verbose \ No newline at end of file