39 lines
1 KiB
YAML
39 lines
1 KiB
YAML
variables:
|
|
GIT_STRATEGY: "pull"
|
|
GIT_SUBMODULE_STRATEGY: "recursive"
|
|
GIT_CHECKOUT: "true"
|
|
|
|
before_script:
|
|
- |
|
|
apt-get update -qq &&
|
|
apt-get install -qq \
|
|
build-essential \
|
|
curl \
|
|
fuse \
|
|
genisoimage \
|
|
git \
|
|
gnupg \
|
|
libfuse-dev \
|
|
nasm \
|
|
pkg-config \
|
|
software-properties-common \
|
|
syslinux &&
|
|
apt-key adv -q --batch --yes --keyserver keyserver.ubuntu.com --recv-keys AA12E97F0881517F &&
|
|
add-apt-repository 'deb https://static.redox-os.org/toolchain/apt ./' &&
|
|
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
|
|
|
|
img:
|
|
script:
|
|
- |
|
|
source "$HOME/.cargo/env" &&
|
|
rustup update &&
|
|
rustup component add rust-src &&
|
|
cargo install cargo-config xargo &&
|
|
pushd bootloader-efi &&
|
|
rustup component add rust-src &&
|
|
popd &&
|
|
make ci-img IMG_TAG=$CI_COMMIT_REF_NAME
|