Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Beyond Protocol
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Beyond AKA
Beyond Protocol
Commits
8a406972
Commit
8a406972
authored
2 years ago
by
Nicolas Pope
Browse files
Options
Downloads
Patches
Plain Diff
Disable windows pipeline
parent
2d172c1f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+41
-41
41 additions, 41 deletions
.gitlab-ci.yml
with
41 additions
and
41 deletions
.gitlab-ci.yml
+
41
−
41
View file @
8a406972
...
@@ -24,7 +24,7 @@ linux:build:
...
@@ -24,7 +24,7 @@ linux:build:
stage
:
build
stage
:
build
tags
:
tags
:
-
linux
-
docker
script
:
script
:
-
mkdir build && cd build
-
mkdir build && cd build
...
@@ -62,47 +62,47 @@ linux:test:
...
@@ -62,47 +62,47 @@ linux:test:
### Windows
### Windows
windows:build
:
#
windows:build:
only
:
#
only:
-
main
#
- main
-
merge_requests
#
- merge_requests
stage
:
build
#
stage: build
tags
:
#
tags:
-
windows
#
- windows
cache
:
# use artifacts instead if multiple runners available
#
cache: # use artifacts instead if multiple runners available
key
:
$CI_COMMIT_SHORT_SHA
#
key: $CI_COMMIT_SHORT_SHA
paths
:
#
paths:
-
build/
#
- build/
script
:
#
script:
-
Import-Module "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/Tools/Microsoft.VisualStudio.DevShell.dll"
#
- Import-Module "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/Tools/Microsoft.VisualStudio.DevShell.dll"
-
Enter-VsDevShell -VsInstallPath "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/"
#
- Enter-VsDevShell -VsInstallPath "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/"
-
cd $CI_PROJECT_DIR
#
- cd $CI_PROJECT_DIR
-
if (Test-Path build) { Remove-Item build/ -Recurse }
#
- if (Test-Path build) { Remove-Item build/ -Recurse }
-
mkdir build
#
- mkdir build
-
cd build
#
- cd build
-
cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DWITH_GNUTLS=TRUE -DGNUTLS_INCLUDE_DIR="C:/Build/bin/gnutls/lib/includes/" -DGNUTLS_LIBRARY="C:/Build/bin/gnutls/lib/libgnutls.dll.a" ..
#
- cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DWITH_GNUTLS=TRUE -DGNUTLS_INCLUDE_DIR="C:/Build/bin/gnutls/lib/includes/" -DGNUTLS_LIBRARY="C:/Build/bin/gnutls/lib/libgnutls.dll.a" ..
-
'
&
MSBuild.exe
beyond-ftl.sln
-property:Configuration=Release
-nr:false
-maxCpuCount'
#
- '& MSBuild.exe beyond-ftl.sln -property:Configuration=Release -nr:false -maxCpuCount'
windows:test
:
#
windows:test:
only
:
#
only:
-
master
#
- master
-
merge_requests
#
- merge_requests
stage
:
test
#
stage: test
tags
:
#
tags:
-
windows
#
- windows
needs
:
[
"
windows:build"
]
#
needs: ["windows:build"]
cache
:
# use artifacts instead if multiple runners available
#
cache: # use artifacts instead if multiple runners available
key
:
$CI_COMMIT_SHORT_SHA
#
key: $CI_COMMIT_SHORT_SHA
paths
:
#
paths:
-
build/
#
- build/
script
:
#
script:
-
$env:PATH+=";C:/Shared/Deploy"
#
- $env:PATH+=";C:/Shared/Deploy"
-
cd build
#
- cd build
-
ctest -V --output-on-failure --timeout
60
#
- ctest -V --output-on-failure --timeout 60
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment