Commit 7d02e3d9 authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Initial draft of Windows ci support added to gitlab-ci.

parent 5c4c0dd8
Pipeline #7355 failed
.stage_artifacts_mpi: &stage_artifacts_mpi
.stage_:set nartifacts_mpi: &stage_artifacts_mpi
artifacts:
paths:
- build_mpi/
......@@ -113,3 +113,48 @@ test_linux_mpi:
- ctest -D ExperimentalTest -D ExperimentalSubmit
dependencies:
- build_linux_mpi
configure_windows:
stage: configure
tags:
- windows
<<: *stage_artifacts
script:
- set PATH=%PATH%;c:\vendors\cmake\3.6.3\bin;c:\vendors\mingw-w64\qt\5.7.0\bin
- where git
- git --version
- where qmake
- qmake -version
- where cmake
- cmake --version
- git clone https://github.com/lefebvre/TriBITS.git TriBITS
- git clone https://github.com/lefebvre/testframework testframework
- git clone https://github.com/lefebvre/googletest googletest
- python TriBITS/tribits/python_utils/gitdist.py pull
- mkdir build
- cd build
- which cmake
- cmake -DTPL_LAPACK_LIBRARIES=/vendors/mingw-w64/lapack/3.6.1/lib/liblapack.a\\\;/vendors/mingw-w64/lapack/3.6.1/lib/libblas.a -DBUILDNAME=Windows-MinGW-GCC-4.8.5-Debug -DCMAKE_BUILD_TYPE=DEBUG -Dradix_ENABLE_COVERAGE_TESTING=ON -Dradix_ENABLE_TESTS=ON -Dradix_ENABLE_ams=ON -Dradix_ENABLE_radixio=ON -Dradix_ENABLE_radixmath=ON -Dradix_ENABLE_radixpara=ON -Dradix_ENABLE_radixgeometry=ON -Dradix_ENABLE_radixglls=ON -Dradix_ENABLE_googletest=ON ..
t:
build_windows:
stage: build
tags:
- windows
<<: *stage_artifacts
script:
- cd build/
- ctest -D ExperimentalStart -D ExperimentalBuild -D ExperimentalSubmit
dependencies:
- configure_windows
test_windows:
stage: test
tags:
- windows
<<: *stage_artifacts
script:
- cd build
- ctest -D ExperimentalTest -D ExperimentalSubmit
dependencies:
- build_windows
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