Skip to content
Snippets Groups Projects
Commit 24ac5c85 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Adjust gitlab ci

parent e7375348
No related branches found
No related tags found
No related merge requests found
......@@ -23,20 +23,12 @@ before_script:
apt-get update -qq &&
apt-get purge -qq binutils-doc &&
apt-get install -qq x86-64-unknown-redox-gcc &&
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none &&
[ -d "$CI_PROJECT_NAME" ] || git clone "$CI_REPOSITORY_URL" "$CI_PROJECT_NAME" &&
cd "$CI_PROJECT_NAME" &&
git remote set-url origin "$CI_REPOSITORY_URL" &&
git fetch origin &&
git checkout "$CI_COMMIT_SHA" &&
git submodule update --init --recursive &&
source "$HOME/.cargo/env" &&
rustup update &&
cargo install cargo-config xargo
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none
img:
script:
- |
cd "$CI_PROJECT_NAME" &&
source "$HOME/.cargo/env" &&
rustup update &&
cargo install cargo-config xargo &&
make ci-img IMG_TAG=$CI_COMMIT_REF_NAME
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment