Skip to content
Snippets Groups Projects
Commit 8a406972 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Disable windows pipeline

parent 2d172c1f
No related branches found
No related tags found
No related merge requests found
...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment