Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
Citra2018
Commits
76caa686
Unverified
Commit
76caa686
authored
Oct 20, 2020
by
Libretro-Admin
Committed by
GitHub
Oct 20, 2020
Browse files
Merge pull request #77 from webgeek1234/master
Add gitlab ci script
parents
81484690
fb8f850c
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
76caa686
variables
:
GIT_SUBMODULE_STRATEGY
:
normal
.core-defs
:
variables
:
CORENAME
:
citra
EXTRA_PATH
:
src/citra_libretro
CORE_ARGS
:
-DENABLE_LIBRETRO=1 -DENABLE_SDL2=0 -DENABLE_QT=0 -DENABLE_WEB_SERVICE=0
.core-linux-defs
:
extends
:
.core-defs
variables
:
CORE_ARGS
:
-DENABLE_LIBRETRO=1 -DLIBRETRO_STATIC=1 -DENABLE_SDL2=0 -DENABLE_QT=0 -DENABLE_WEB_SERVICE=0
include
:
-
template
:
Jobs/Code-Quality.gitlab-ci.yml
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/linux-cmake.yml'
stages
:
-
build-prepare
-
build-shared
-
test
#Desktop
libretro-build-linux-x86_64
:
extends
:
-
.libretro-linux-cmake-x86_64
-
.core-linux-defs
src/common/CMakeLists.txt
View file @
76caa686
...
...
@@ -9,6 +9,9 @@ if ($ENV{CI})
elseif
(
$ENV{APPVEYOR}
)
set
(
BUILD_REPOSITORY $ENV{APPVEYOR_REPO_NAME}
)
set
(
BUILD_TAG $ENV{APPVEYOR_REPO_TAG_NAME}
)
elseif
(
$ENV{GITLAB_CI}
)
set
(
BUILD_REPOSITORY $ENV{CI_PROJECT_PATH}
)
set
(
BUILD_TAG $ENV{CI_COMMIT_TAG}
)
endif
()
# regex capture the string nightly or canary into CMAKE_MATCH_1
string
(
REGEX MATCH
"citra-emu/citra-?(.*)"
OUTVAR
${
BUILD_REPOSITORY
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment