Skip to content

Commit

Permalink
.gitlab-ci: Update .gitlab-ci.yml file
Browse files Browse the repository at this point in the history
- Change job title;
- Change artifacts file name;
- Allow only branches to trigger a job.

Signed-off-by: Alexandre Frade <kernel@xanmod.org>
  • Loading branch information
xanmod committed Sep 7, 2023
1 parent 0a24745 commit eb6a890
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions .gitlab-ci.yml
Expand Up @@ -22,62 +22,70 @@ variables:
KDEB_CHANGELOG_DIST: "bookworm"
KCONFIG_CONFIG: "CONFIGS/xanmod/gcc/config_$psabi"

linux-6.1-x64v1-xanmod:
6.1 x64v1:
tags: [saas-linux-xlarge-amd64]
stage: build
only:
- branches
variables:
psabi: x86-64-v1
script:
- eval $mvcmd && eval $avcmd
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
name: "$CI_JOB_NAME~$CI_COMMIT_SHORT_SHA"
paths:
- assets/
exclude:
- assets/*dbg*
timeout: 1h

linux-6.1-x64v2-xanmod:
6.1 x64v2:
tags: [saas-linux-xlarge-amd64]
stage: build
only:
- branches
variables:
psabi: x86-64-v2
script:
- eval $mvcmd && eval $avcmd
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
name: "$CI_JOB_NAME~$CI_COMMIT_SHORT_SHA"
paths:
- assets/
exclude:
- assets/*dbg*
timeout: 1h

linux-6.1-x64v3-xanmod:
6.1 x64v3:
tags: [saas-linux-xlarge-amd64]
stage: build
only:
- branches
variables:
psabi: x86-64-v3
script:
- eval $mvcmd && eval $avcmd
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
name: "$CI_JOB_NAME~$CI_COMMIT_SHORT_SHA"
paths:
- assets/
exclude:
- assets/*dbg*
timeout: 1h

linux-6.1-x64v4-xanmod:
6.1 x64v4:
tags: [saas-linux-xlarge-amd64]
stage: build
only:
- branches
variables:
psabi: x86-64-v4
script:
- eval $mvcmd && eval $avcmd
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
name: "$CI_JOB_NAME~$CI_COMMIT_SHORT_SHA"
paths:
- assets/
exclude:
- assets/*dbg*
timeout: 1h
timeout: 1h

0 comments on commit eb6a890

Please sign in to comment.