From 30b90ec02bcdda7db98ade4e36742ec05ebc59bc Mon Sep 17 00:00:00 2001 From: akshun Date: Mon, 21 Apr 2025 23:53:17 +0000 Subject: [PATCH] Edit .gitlab-ci.yml --- .gitlab-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2e84d14..c3831ea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ stages: - build variables: + GIT_STRATEGY: clone GIT_SUBMODULE_STRATEGY: recursive .build_template: &build_template @@ -19,7 +20,6 @@ build_on_arch: - pacman -Syu --noconfirm - pacman -S --noconfirm git rustup gcc - rustup default stable - - git checkout $CI_COMMIT_SHA build_on_debian: <<: *build_template @@ -27,12 +27,10 @@ build_on_debian: before_script: - apt update && apt upgrade -y - apt install -y git cargo - - git checkout $CI_COMMIT_SHA build_on_fedora: <<: *build_template image: fedora:latest before_script: - dnf up -y - - dnf install -y git cargo - - git checkout $CI_COMMIT_SHA \ No newline at end of file + - dnf install -y git cargo \ No newline at end of file