2018-06-10 02:04:59 +02:00
|
|
|
variables:
|
2018-06-10 17:54:05 +02:00
|
|
|
GIT_STRATEGY: "pull"
|
|
|
|
GIT_SUBMODULE_STRATEGY: "recursive"
|
|
|
|
GIT_CHECKOUT: "true"
|
2018-06-10 02:04:59 +02:00
|
|
|
|
2018-06-10 01:11:01 +02:00
|
|
|
before_script:
|
|
|
|
- |
|
2018-06-10 01:58:24 +02:00
|
|
|
apt-get update -qq &&
|
2018-06-10 02:58:14 +02:00
|
|
|
apt-get install -qq \
|
2018-11-25 16:58:27 +01:00
|
|
|
bison \
|
2018-06-10 02:58:14 +02:00
|
|
|
build-essential \
|
|
|
|
curl \
|
2018-06-11 01:01:32 +02:00
|
|
|
dosfstools \
|
2018-11-25 16:58:27 +01:00
|
|
|
flex \
|
2018-06-10 02:58:14 +02:00
|
|
|
fuse \
|
|
|
|
genisoimage \
|
|
|
|
git \
|
|
|
|
gnupg \
|
|
|
|
libfuse-dev \
|
|
|
|
nasm \
|
|
|
|
pkg-config \
|
|
|
|
software-properties-common \
|
2018-06-10 22:36:45 +02:00
|
|
|
syslinux \
|
2018-06-11 01:23:43 +02:00
|
|
|
syslinux-utils \
|
2018-10-30 03:01:54 +01:00
|
|
|
texinfo \
|
2018-06-10 22:36:45 +02:00
|
|
|
wget &&
|
2018-06-10 18:04:10 +02:00
|
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none
|
2018-06-10 01:11:01 +02:00
|
|
|
|
2018-06-10 17:54:05 +02:00
|
|
|
img:
|
2018-06-10 04:16:45 +02:00
|
|
|
script:
|
|
|
|
- |
|
|
|
|
source "$HOME/.cargo/env" &&
|
2018-06-10 18:04:10 +02:00
|
|
|
rustup update &&
|
2018-06-10 19:00:37 +02:00
|
|
|
rustup component add rust-src &&
|
2019-03-16 22:23:15 +01:00
|
|
|
cargo install cargo-config cargo-xbuild xargo &&
|
2018-06-10 19:54:21 +02:00
|
|
|
pushd bootloader-efi &&
|
2018-06-10 20:03:51 +02:00
|
|
|
rustup update &&
|
2018-06-10 19:54:21 +02:00
|
|
|
rustup component add rust-src &&
|
|
|
|
popd &&
|
2018-06-10 17:54:05 +02:00
|
|
|
make ci-img IMG_TAG=$CI_COMMIT_REF_NAME
|
2018-06-11 02:56:53 +02:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- build/img/
|
|
|
|
expire_in: 1 week
|