This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
appveyor.yml
55 lines (48 loc) · 1.75 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
environment:
matrix:
# - source: https://cran.r-project.org/src/base/R-3/R-3.6.0.tar.gz
# RTOOLS_VERSION: 35
# archive: r-release
- source: https://cran.r-project.org/src/base-prerelease/R-devel.tar.gz
archive: r-devel
RTOOLS_VERSION: 35
# - source: https://cran.r-project.org/src/base-prerelease/R-latest.tar.gz
# archive: r-patched
# RTOOLS_VERSION: 35
PfxUri:
secure: z+vP1iY4odY07BV7v+yfuA2MBKQFFLGokZoefPhz22ewYZAm6XZ8jsdphTFYkn7L
CertPassword:
secure: nwSwtaLCl6Xo5sfqKLvO30aFFGCgjGJ2GKTqS33zkJg=
SignTool: C:\Program Files (x86)\Windows Kits\8.1\bin\x64\signtool.exe
CertKit: C:\Program Files (x86)\Windows Kits\10\App Certification Kit\appcert.exe
KeyFile: C:\jeroen.pfx
install:
- ps: |
Import-Module '.\scripts\appveyor-tool.ps1'
SetTimezone
InstallMiktex
InstallPerl
InstallInno
InstallRtools
- git submodule update --init
build_script:
- ps: Invoke-WebRequest "${env:source}" -OutFile "R-source.tar.gz"
- .\scripts\build.bat R-source.tar.gz 32
- .\scripts\build.bat R-source.tar.gz 64
after_build:
- ps: Start-FileDownload $env:PfxUri -FileName $env:KeyFile
- ps: SignFiles "${env:builddir}\${env:target}-win.exe"
- ps: Remove-Item –path $env:KeyFile
- cd %builddir%
- md5sum %target%-win.exe > md5sum.txt.%target%
- cd %startdir%
- 7z a %target%-win.zip %builddir%\%target%-win.exe %builddir%\md5sum.txt.%target% %builddir%\*.log %builddir%\*.html %builddir%\SVN-REVISION.* %builddir%\README.*
artifacts:
- path: "%target%-win.zip"
name: Installer Bundle
on_finish:
- 7z a logs.zip %builddir%\*.log
- appveyor PushArtifact logs.zip
on_failure:
- 7z a tests.zip %builddir%\R-source-win64\tests\*
- appveyor PushArtifact tests.zip