File tree 1 file changed +13
-20
lines changed
1 file changed +13
-20
lines changed Original file line number Diff line number Diff line change
1
+
2
+
1
3
trigger :
2
4
- master
3
5
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
-
17
6
jobs :
18
7
- job : Windows
19
8
timeoutInMinutes : 0
20
9
cancelTimeoutInMinutes : 10
21
- variables :
22
- CRAN : ${{parameters.CRAN}}
23
- R_LIBS_USER : ${{parameters.R_LIBS_USER}}
24
- CI : true
25
- ${{ insert }} : ${{ parameters.env }}
26
10
pool :
27
11
vmImage : ' windows-latest'
28
-
12
+ # r installation from https://github.com/r-lib/r-azure-pipelines/
29
13
steps :
30
- - template : templates/r-setup-windows.yml
14
+ - pwsh : |
15
+ choco install r.project -y --no-progress
16
+ Invoke-WebRequest "https://github.com/hannesmuehleisen/choco-rtools/raw/master/rtools.3.5.0.nupkg" -OutFile "..\rtools.3.5.0.nupkg"
17
+ choco install rtools -s ..\rtools.3.5.0.nupkg -f -y --no-progress
18
+ # Set the timezone
19
+ tzutil /s "GMT Standard Time"
20
+ displayName: 'Installing R'
21
+ - pwsh : |
22
+ Write-Host "##vso[task.setvariable variable=PATH]C:\Rtools\bin;C:\Rtools\mingw_64\bin;${env:PATH};C:\Progra~1\R\R-3.6.1\bin"
23
+ displayName: 'Setting PATH'
31
24
- checkout : self
32
25
clean : true
33
26
fetchDepth : 5
You can’t perform that action at this time.
0 commit comments