Commit 72385534 authored by AlQuemist's avatar AlQuemist Committed by Wuttke, Joachim
Browse files

GitLab-CI: Clean up the Windows section

parent 67a0766d
......@@ -6,7 +6,7 @@ windows:
- Windows
stage: build
script:
- New-Item -ItemType "directory" -Confirm:$false -Force:$true -Name "build"
- mkdir -Force build
- cd build
- $OPT_DIR = "C:/Users/scguser/vcpkg/installed/x64-windows;C:/opt/x64"
- $QT_MSVC_DIR = "C:/Qt/msvc"
......@@ -17,12 +17,10 @@ windows:
- $LIB_DIRS = "C:/Program Files/HDF_Group/HDF5/1.12.2/lib;C:/opt/x64/lib"
- $INCLUDE_DIRS = "C:/Program Files/HDF_Group/HDF5/1.12.2/include;C:/opt/x64/include/libtiff;${BOOST_INCLUDE_DIR}"
- $SWIG_DIR = "C:/Program Files/swigwin"
- Remove-Item CM* -Recurse
- cmake -G "Visual Studio 17 2022" -A x64 -T host=x64 -DCMAKE_PREFIX_PATH="$OPT_DIR" -DQTDIR="$QT_MSVC_DIR" -DCMAKE_INCLUDE_PATH="$INCLUDE_DIRS" -DCMAKE_LIBRARY_PATH="$LIB_DIRS" -DCMAKE_C_COMPILER="cl.exe" -DBUILD_DOCUMENTATION=OFF -DBUILD_PDF_DOCUMENTATION=OFF -DCMAKE_CXX_COMPILER="cl.exe" -B. ..
- cmake --build . --config Release
- ctest -C Release --parallel 8 --output-on-failure
- cpack -C Release -B ./winpackage
- ctest -C Release --output-on-failure
artifacts:
paths:
- build/OpenHKL*.exe
......
Supports Markdown
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