Update .gitlab-ci.yml file
This commit is contained in:
@@ -6,8 +6,6 @@ variables:
|
||||
|
||||
.build_template: &build_template
|
||||
stage: build
|
||||
before_script:
|
||||
- git checkout $CI_COMMIT_SHA
|
||||
script:
|
||||
- cargo build --release
|
||||
artifacts:
|
||||
@@ -21,7 +19,7 @@ build_on_arch:
|
||||
- pacman -Syu --noconfirm
|
||||
- pacman -S --noconfirm git rustup gcc
|
||||
- rustup default stable
|
||||
- *build_template.before_script
|
||||
- git checkout $CI_COMMIT_SHA
|
||||
|
||||
build_on_debian:
|
||||
<<: *build_template
|
||||
@@ -29,7 +27,7 @@ build_on_debian:
|
||||
before_script:
|
||||
- apt update && apt upgrade -y
|
||||
- apt install -y git cargo
|
||||
- *build_template.before_script
|
||||
- git checkout $CI_COMMIT_SHA
|
||||
|
||||
build_on_fedora:
|
||||
<<: *build_template
|
||||
@@ -37,4 +35,4 @@ build_on_fedora:
|
||||
before_script:
|
||||
- dnf up -y
|
||||
- dnf install -y git cargo
|
||||
- *build_template.before_script
|
||||
- git checkout $CI_COMMIT_SHA
|
||||
Reference in New Issue
Block a user