forked from aobolensk/pp_2020_spring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
42 lines (40 loc) · 1.64 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
environment:
matrix:
- CMAKE_GENERATOR: "Visual Studio 14 2015"
MPI_HOME: "C:/Program Files (x86)/Microsoft SDKs/MPI"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CMAKE_GENERATOR: "Visual Studio 15 2017"
MPI_HOME: "C:/Program Files (x86)/Microsoft SDKs/MPI"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
CMAKE_GENERATOR: "Visual Studio 16 2019"
MPI_HOME: "C:/Program Files (x86)/Microsoft SDKs/MPI"
install:
- ps: Start-FileDownload 'https://github.com/Microsoft/Microsoft-MPI/releases/download/v10.0/msmpisetup.exe'
- MSMpiSetup.exe -unattend
- set PATH=C:\Program Files\Microsoft MPI\Bin;%PATH%
- ps: Start-FileDownload 'https://github.com/Microsoft/Microsoft-MPI/releases/download/v10.0/msmpisdk.msi'
- msmpisdk.msi /passive
- powershell -file "scripts\appveyor_install_miktex-latest-minimal.ps1"
- refreshenv
- pdflatex -version
build_script:
- cmd: git submodule update --init --recursive
- cmd: python scripts/lint.py
- cmd: mkdir build
- cmd: cd build
- cmd: cmake -G "%CMAKE_GENERATOR%" ^
-D USE_SEQ=ON ^
-D USE_MPI=ON ^
-D USE_OMP=ON ^
-D USE_TBB=ON ^
-D USE_STD=ON ^
-D USE_LATEX=ON ^
-D MPI_C_INCLUDE_PATH:PATH="%MPI_HOME%/Include" ^
-D MPI_C_LIBRARIES:PATH="%MPI_HOME%/Lib/x86/msmpi.lib" ^
-D MPI_CXX_INCLUDE_PATH:PATH="%MPI_HOME%/Include" ^
-D MPI_CXX_LIBRARIES:PATH="%MPI_HOME%/Lib/x86/msmpi.lib" .. ^
-A Win32
- cmd: cmake --build .
- cmd: cd ..
- cmd: set OMP_NUM_THREADS=4
- cmd: scripts/run.bat