Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1037706
.gitlab-ci.yml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
.gitlab-ci.yml
View Options
# This file is part of libkazv.
# SPDX-FileCopyrightText: 2022-2023 tusooa <tusooa@kazv.moe>
# SPDX-License-Identifier: AGPL-3.0-or-later
workflow
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
-
if
:
$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when
:
never
-
if
:
$CI_COMMIT_BRANCH
stages
:
-
check-changelog
-
lint
-
build
'check-changelog'
:
stage
:
check-changelog
image
:
alpine
dependencies
:
[]
script
:
-
sh ./tools/check-changelog
rules
:
-
if
:
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "servant"
'lint:no-tabs'
:
stage
:
lint
script
:
|
echo 'Verify that no source file contains tabs'
! egrep -R --exclude-dir=transformed-libs --exclude-dir=Intl.js --exclude-dir=node_modules $'\t' src
rules
:
&build-rules
-
changes
:
&src-chg
-
Dockerfile.deps
-
'**/*.cpp'
-
'**/*.hpp'
-
'**/CMakeLists.txt'
-
'**/*.in'
-
'**/*.qml'
-
'src/js/*.js'
-
'src/js/transformed-libs/*.js'
-
'packaging/**'
-
'icons/**'
'build:GNU/Linux-amd64-debug'
:
stage
:
build
image
:
name
:
'reg.lily.kazv.moe/kazv/libkazv/libkazv:servant-debug'
script
:
|
env JOBS=2 ./packaging/GNU-Linux/appimage/build.sh
artifacts
:
paths
:
-
kazv-Debug.AppImage
expire_in
:
1 week
rules
:
*build-rules
'build:GNU/Linux-amd64-prod'
:
stage
:
build
image
:
name
:
'reg.lily.kazv.moe/kazv/libkazv/libkazv:servant-prod'
script
:
|
env JOBS=2 ./packaging/GNU-Linux/appimage/build-prod.sh
artifacts
:
paths
:
-
kazv-Release.AppImage
expire_in
:
1 week
rules
:
*build-rules
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, May 14, 7:42 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
88382
Default Alt Text
.gitlab-ci.yml (1 KB)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment