File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 15
15
choco install r.project -y --no-progress
16
16
Invoke-WebRequest "https://github.com/hannesmuehleisen/choco-rtools/raw/master/rtools.3.5.0.nupkg" -OutFile "..\rtools.3.5.0.nupkg"
17
17
choco install rtools -s ..\rtools.3.5.0.nupkg -f -y --no-progress
18
+ choco install ninja
18
19
# Set the timezone
19
20
tzutil /s "GMT Standard Time"
20
21
displayName: 'Installing R'
30
31
git checkout $(System.PullRequest.SourceCommitId)
31
32
fi
32
33
displayName: GitCheckout
34
+ - bash : |
35
+ set -x
36
+ c++ --version
37
+ cmake --version
38
+ which R
39
+ R --version
40
+ R -e "devtools::install(c('$(Build.SourcesDirectory)'), lib=c('${R_LIBS}'), args=c('--configure-vars="MAKEJ=2"'))"
41
+ df -h
42
+ displayName: Build and test
43
+ env:
44
+ R_LIBS: $(Agent.WorkFolder)/Rlibs
45
+ ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS: 2
46
+ workingDirectory: $(Agent.BuildDirectory)
33
47
You can’t perform that action at this time.
0 commit comments