Merge branch 'less_ci_deps' into 'master'
Reduce time to run CI See merge request redox-os/redox!1413
This commit is contained in:
commit
af62d768cd
|
@ -14,30 +14,25 @@ before_script:
|
||||||
bison \
|
bison \
|
||||||
build-essential \
|
build-essential \
|
||||||
curl \
|
curl \
|
||||||
dosfstools \
|
|
||||||
flex \
|
flex \
|
||||||
fuse \
|
fuse \
|
||||||
genisoimage \
|
|
||||||
git \
|
git \
|
||||||
gnupg \
|
|
||||||
libfuse-dev \
|
libfuse-dev \
|
||||||
nasm \
|
nasm \
|
||||||
parted \
|
|
||||||
pkg-config \
|
pkg-config \
|
||||||
software-properties-common \
|
|
||||||
syslinux \
|
|
||||||
syslinux-utils \
|
|
||||||
texinfo \
|
texinfo \
|
||||||
wget &&
|
wget \
|
||||||
|
zstd &&
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none
|
||||||
|
|
||||||
img:
|
img:
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
source "$HOME/.cargo/env" &&
|
source "$HOME/.cargo/env" &&
|
||||||
cargo install --version 0.1.1 cargo-config &&
|
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash &&
|
||||||
cargo install --version 1.16.0 just &&
|
cargo binstall --no-confirm --version 0.1.1 cargo-config &&
|
||||||
cargo install --version 0.26.0 cbindgen &&
|
cargo binstall --no-confirm --version 1.16.0 just &&
|
||||||
|
cargo binstall --no-confirm --version 0.26.0 cbindgen &&
|
||||||
cargo build --manifest-path installer/Cargo.toml --release &&
|
cargo build --manifest-path installer/Cargo.toml --release &&
|
||||||
make ci-img IMG_TAG=$CI_COMMIT_REF_NAME REPO_BINARY=1
|
make ci-img IMG_TAG=$CI_COMMIT_REF_NAME REPO_BINARY=1
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
1
mk/ci.mk
1
mk/ci.mk
|
@ -8,6 +8,7 @@ ci-img: FORCE
|
||||||
rm -rf $(IMG_DIR)
|
rm -rf $(IMG_DIR)
|
||||||
mkdir -p $(IMG_DIR)
|
mkdir -p $(IMG_DIR)
|
||||||
$(MAKE) demo desktop server
|
$(MAKE) demo desktop server
|
||||||
|
cd $(IMG_DIR) && zstd --rm *
|
||||||
cd $(IMG_DIR) && sha256sum -b * > SHA256SUM
|
cd $(IMG_DIR) && sha256sum -b * > SHA256SUM
|
||||||
|
|
||||||
# The name of the target must match the name of the filesystem config file
|
# The name of the target must match the name of the filesystem config file
|
||||||
|
|
Loading…
Reference in a new issue