Commit 3fc2c35d authored by Lotrado's avatar Lotrado
Browse files

Extracted common yml code of windows CI tasks.

parent e7edc6f0
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment