fix: gogo gadget 3000 apt commands

This commit is contained in:
Xory ​ 2024-04-17 11:51:37 +00:00
parent 00eeda366e
commit 7364d09da9

View file

@ -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