Commit 3be1eb8b authored by Lefebvre, Jordan's avatar Lefebvre, Jordan
Browse files

#1. Updating windows gitlab-ci to work with powershell.

parent 05f0fb96
Pipeline #97904 failed
......@@ -2,7 +2,6 @@ stages:
- test
- analysis
.windows_msvc_before_script: &windows_msvc_before_script
before_script:
- set PATH=c:\Qt\5.9.1\msvc2013_64\bin;%PATH%;c:\Program Files (x86)\NSIS\Bin;c:\vendors\cl\libssh\0.9.3\bin;c:\vendors\cl\openssl\1.1.1d\bin
......@@ -80,24 +79,5 @@ linux_analysis:
windows_msvc_testing:
tags:
- nsmwin10
<<: *windows_msvc_before_script
script:
- 'call "c:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/vcvarsall.bat" amd64'
- where git
- git --version
- git submodule init
- git submodule update
- cmake --version
- mkdir build
- cd build
- SET rsm_ENABLE_Fortran=OFF
- cmake -DBUILD_SHARED_LIBS=OFF
-DBUILDNAME=Windows-CL-18-Release-%CI_BUILD_REF_NAME%
-DOPENSSL_ROOT_DIR=c:/vendors/cl/openssl/1.1.1d/
-DLibSSH_DIR=c:/vendors/cl/libssh/0.9.3/lib/cmake/libssh/
-DCMAKE_BUILD_TYPE=RELEASE
-Drsm_ENABLE_TESTS=ON
-Drsm_ENABLE_rsmcore=ON
-Drsm_ENABLE_rsmwidgets=OFF
-G "NMake Makefiles" ..
- ctest -D ExperimentalStart -D ExperimentalBuild -D ExperimentalTest -D ExperimentalSubmit
- ci\windows_testing.bat
set PATH=c:\Qt\5.9.1\msvc2013_64\bin;%PATH%;c:\Program Files (x86)\NSIS\Bin;c:\vendors\cl\libssh\0.9.3\bin;c:\vendors\cl\openssl\1.1.1d\bin
'call "c:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/vcvarsall.bat" amd64'
where git
git --version
git submodule init
git submodule update
cmake --version
mkdir build
cd build
SET rsm_ENABLE_Fortran=OFF
cmake -DBUILD_SHARED_LIBS=OFF
-DBUILDNAME=Windows-CL-18-Release-%CI_BUILD_REF_NAME%
-DOPENSSL_ROOT_DIR=c:/vendors/cl/openssl/1.1.1d/
-DLibSSH_DIR=c:/vendors/cl/libssh/0.9.3/lib/cmake/libssh/
-DCMAKE_BUILD_TYPE=RELEASE
-Drsm_ENABLE_TESTS=ON
-Drsm_ENABLE_rsmcore=ON
-Drsm_ENABLE_rsmwidgets=OFF
-G "NMake Makefiles" ..
ctest -D ExperimentalStart -D ExperimentalBuild -D ExperimentalTest -D ExperimentalSubmit
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