-
Notifications
You must be signed in to change notification settings - Fork 5
/
appveyor.yml
64 lines (58 loc) · 2.28 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# DO NOT CHANGE the "init" and "install" sections below
# Download script file from GitHub
init:
ps: |
$ErrorActionPreference = "Stop"
Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
Import-Module '..\appveyor-tool.ps1'
install:
- ps: Bootstrap
- cd ..
### Install HPC Pack 2012 R2 Update 3 SDK
# - ps: (New-Object Net.WebClient).DownloadFile("https://download.microsoft.com/download/7/B/5/7B582B17-AF1E-454A-B86B-E6733010EB47/sdk_x64.msi", "sdk_x64.msi")
# - ps: msiexec /i sdk_x64.msi /quiet /qn /norestart /log install.log PROPERTY1=value1 PROPERTY2=value2
### Install MS-MPI v9.0
- ps: Start-FileDownload 'https://download.microsoft.com/download/2/E/C/2EC96D7F-687B-4613-80F6-E10F670A2D97/msmpisetup.exe'
- MSMpiSetup.exe -unattend
- dir "C:\Program Files\Microsoft MPI"
- dir "C:\Program Files\Microsoft MPI\Bin"
### Install MS-MPI v9.0 SDK
- ps: Start-FileDownload 'https://download.microsoft.com/download/2/E/C/2EC96D7F-687B-4613-80F6-E10F670A2D97/msmpisdk.msi'
- msmpisdk.msi /passive
- dir "C:\Program Files (x86)\Microsoft SDKs\MPI"
- dir "C:\Program Files (x86)\Microsoft SDKs\MPI\Include"
- dir "C:\Program Files (x86)\Microsoft SDKs\MPI\Lib"
### Set PATH
- set MPI_EXEC=C:\Program Files\Microsoft MPI
- set MPI_ROOT=C:\Program Files (x86)\Microsoft SDKS\MPI
- set PATH=%MPI_EXEC%\Bin;%PATH%
### Check MS-MPI
- mpiexec -help
# - mpiexec -help2
# - mpiexec -help3
environment:
global:
WARNINGS_ARE_ERRORS:
RTOOLS_VERSION: 35
USE_RTOOLS: true
matrix:
- R_VERSION: release
R_ARCH: x64
build_script:
- Rscript -e "install.packages(c('float','rlecuyer'),repos='https://cran.r-project.org/')"
- git clone https://github.com/snoweye/pbdMPI
- R CMD INSTALL pbdMPI
- git clone https://github.com/snoweye/pbdSLAP
- cd pbdSLAP/
- git checkout lto
- cd ../
- R CMD INSTALL pbdSLAP
# - cd pbdBASE
# - travis-tool.sh install_deps
# - cd ..
- R CMD build --no-build-vignettes --no-manual --no-resave-data pbdBASE
- R CMD INSTALL pbdBASE*.tar.gz
- R CMD check pbdBASE*.tar.gz --as-cran --no-manual --no-vignettes --no-clean
- dir pbdBASE.Rcheck
# - type pbdBASE.Rcheck\00check.log
- type pbdBASE.Rcheck\pbdBASE-Ex_x64.Rout