From bfde266b90464155c53ec2f4dab5cd0c3cca6354 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 1 Mar 2023 12:44:37 -0700 Subject: [PATCH] Restore dependency install from old CI script --- .gitlab-ci.yml | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6e9582e..f4ab8a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,14 +4,36 @@ variables: GIT_STRATEGY: "clone" GIT_SUBMODULE_STRATEGY: "recursive" +before_script: + - | + export DEBIAN_FRONTEND=noninteractive + apt-get update -qq && + apt-get install -qq \ + bison \ + build-essential \ + curl \ + dosfstools \ + flex \ + fuse \ + genisoimage \ + git \ + gnupg \ + libfuse-dev \ + nasm \ + parted \ + pkg-config \ + software-properties-common \ + syslinux \ + syslinux-utils \ + texinfo \ + wget && + curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none + img: script: - | - apt-get update -qq && - apt-get install -qq -y curl && - curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none && source "$HOME/.cargo/env" && - ./bootstrap.sh -d && + cargo install --version 0.1.1 cargo-config && make ci-img IMG_TAG=$CI_COMMIT_REF_NAME artifacts: paths: