fix: gogo gadget 3000 apt commands
This commit is contained in:
parent
00eeda366e
commit
7364d09da9
1 changed files with 9 additions and 3 deletions
|
@ -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
|
Loading…
Reference in a new issue