redox/.gitlab-ci.yml
2019-06-17 19:55:39 -06:00

46 lines
1,019 B
YAML

variables:
GIT_STRATEGY: "pull"
GIT_SUBMODULE_STRATEGY: "recursive"
GIT_CHECKOUT: "true"
before_script:
- |
apt-get update -qq &&
apt-get install -qq \
bison \
build-essential \
curl \
dosfstools \
flex \
fuse \
genisoimage \
git \
gnupg \
libfuse-dev \
nasm \
pkg-config \
python \
software-properties-common \
syslinux \
syslinux-utils \
texinfo \
wget &&
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none
img:
script:
- |
source "$HOME/.cargo/env" &&
rustup update &&
rustup component add rust-src &&
cargo install cargo-config cargo-xbuild xargo &&
pushd bootloader-efi &&
rustup update &&
rustup component add rust-src &&
popd &&
make ci-img IMG_TAG=$CI_COMMIT_REF_NAME
artifacts:
paths:
- build/img/
expire_in: 1 week