Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Dependencies
Cpp
mirrage
Commits
3fc2c35d
Commit
3fc2c35d
authored
Feb 07, 2019
by
Lotrado
Browse files
Extracted common yml code of windows CI tasks.
parent
e7edc6f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
3fc2c35d
...
...
@@ -19,6 +19,13 @@ variables:
paths
:
*cache-paths
key
:
"
%CI_COMMIT_REF_SLUG%-%CI_JOB_NAME%-%CI_RUNNER_ID%"
.windows-task
:
&windows-task
tags
:
-
windows
only
:
variables
:
-
$WINDOWS_CI
.artifact-spec
:
&artifact-spec
artifacts
:
paths
:
...
...
@@ -76,11 +83,7 @@ build-mingw:
variables
:
CC
:
"
gcc"
CXX
:
"
g++"
tags
:
-
windows
only
:
variables
:
-
$WINDOWS_CI
<<
:
*windows-task
<<
:
*windows-cache-spec
<<
:
*artifact-spec
...
...
@@ -94,10 +97,6 @@ build-msvc:
-
cmake --build . --config Release -- /m
-
cmake --build . --config Release --target src/install
-
cmake --build . --config Release --target test
tags
:
-
windows
only
:
variables
:
-
$WINDOWS_CI
<<
:
*windows-task
<<
:
*windows-cache-spec
<<
:
*artifact-spec
Write
Preview
Supports
Markdown
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