Skip to content

Commit f417ddc

Browse files
committed
testing stuff from github rlib/r-azure-pipelines
1 parent 1751ad4 commit f417ddc

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

azure-pipelines.yml

+21-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,33 @@
11
trigger:
22
- master
33

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+
417
jobs:
518
- job: Windows
619
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 }}
826
pool:
927
vmImage: 'windows-latest'
1028

1129
steps:
30+
- template: templates/r-setup-windows.yml
1231
- checkout: self
1332
clean: true
1433
fetchDepth: 5
@@ -18,9 +37,4 @@ jobs:
1837
git checkout $(System.PullRequest.SourceCommitId)
1938
fi
2039
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+

0 commit comments

Comments
 (0)