Skip to content

Commit 7decd12

Browse files
committed
Standard build attempt with windows.
1 parent 17ba473 commit 7decd12

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

azure-pipelines.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
choco install r.project -y --no-progress
1616
Invoke-WebRequest "https://github.com/hannesmuehleisen/choco-rtools/raw/master/rtools.3.5.0.nupkg" -OutFile "..\rtools.3.5.0.nupkg"
1717
choco install rtools -s ..\rtools.3.5.0.nupkg -f -y --no-progress
18+
choco install ninja
1819
# Set the timezone
1920
tzutil /s "GMT Standard Time"
2021
displayName: 'Installing R'
@@ -30,4 +31,17 @@ jobs:
3031
git checkout $(System.PullRequest.SourceCommitId)
3132
fi
3233
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)
3347

0 commit comments

Comments
 (0)