File tree 1 file changed +21
-7
lines changed
1 file changed +21
-7
lines changed Original file line number Diff line number Diff line change 1
1
trigger :
2
2
- master
3
3
4
+ resources :
5
+ repositories :
6
+ - repository : r-azure-pipelines
7
+ type : github
8
+ name : r-lib/r-azure-pipelines
9
+ endpoint : r-lib
10
+
11
+ parameters :
12
+ R_LIBS_USER : ' $(Agent.BuildDirectory)/R/library'
13
+ CRAN : ' https://cloud.r-project.org'
14
+ coverage : true
15
+ env : {}
16
+
4
17
jobs :
5
18
- job : Windows
6
19
timeoutInMinutes : 0
7
- cancelTimeoutInMinutes : 300
20
+ cancelTimeoutInMinutes : 10
21
+ variables :
22
+ CRAN : ${{parameters.CRAN}}
23
+ R_LIBS_USER : ${{parameters.R_LIBS_USER}}
24
+ CI : true
25
+ ${{ insert }} : ${{ parameters.env }}
8
26
pool :
9
27
vmImage : ' windows-latest'
10
28
11
29
steps :
30
+ - template : templates/r-setup-windows.yml
12
31
- checkout : self
13
32
clean : true
14
33
fetchDepth : 5
18
37
git checkout $(System.PullRequest.SourceCommitId)
19
38
fi
20
39
displayName: GitCheckout
21
- - bash : |
22
- set -x
23
- curl https://cloud.r-project.org/bin/windows/base/R-3.6.1-win.exe -o R-3.6.1-win.exe
24
- curl https://cloud.r-project.org/bin/windows/Rtools/Rtools35.exe -o Rtools35.exe
25
- ./R-3.6.1-win.exe /DIR="c:\Program Files\R" /GROUP="R" /COMPONENTS="main,x86_64,translations"
26
- displayName: RStuff
40
+
You can’t perform that action at this time.
0 commit comments