Edit .gitlab-ci.yml
This commit is contained in:
@@ -2,6 +2,7 @@ stages:
|
|||||||
- build
|
- build
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
|
GIT_STRATEGY: clone
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
|
||||||
.build_template: &build_template
|
.build_template: &build_template
|
||||||
@@ -19,7 +20,6 @@ build_on_arch:
|
|||||||
- pacman -Syu --noconfirm
|
- pacman -Syu --noconfirm
|
||||||
- pacman -S --noconfirm git rustup gcc
|
- pacman -S --noconfirm git rustup gcc
|
||||||
- rustup default stable
|
- rustup default stable
|
||||||
- git checkout $CI_COMMIT_SHA
|
|
||||||
|
|
||||||
build_on_debian:
|
build_on_debian:
|
||||||
<<: *build_template
|
<<: *build_template
|
||||||
@@ -27,7 +27,6 @@ build_on_debian:
|
|||||||
before_script:
|
before_script:
|
||||||
- apt update && apt upgrade -y
|
- apt update && apt upgrade -y
|
||||||
- apt install -y git cargo
|
- apt install -y git cargo
|
||||||
- git checkout $CI_COMMIT_SHA
|
|
||||||
|
|
||||||
build_on_fedora:
|
build_on_fedora:
|
||||||
<<: *build_template
|
<<: *build_template
|
||||||
@@ -35,4 +34,3 @@ build_on_fedora:
|
|||||||
before_script:
|
before_script:
|
||||||
- dnf up -y
|
- dnf up -y
|
||||||
- dnf install -y git cargo
|
- dnf install -y git cargo
|
||||||
- git checkout $CI_COMMIT_SHA
|
|
||||||
Reference in New Issue
Block a user