-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathappveyor.yml
61 lines (52 loc) · 1.86 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
56
57
58
59
60
61
image: Visual Studio 2017
platform: x64
cache:
- c:\miktex -> appveyor.yml
environment:
global:
USE_ATLAS: YES
ATLAS_PATH: C:/projects/r-openblas/libopenBLAS
MULTI: 64
WIN: 64
BINPREF64: c:/Rtools/mingw_64/bin/
TEXI2DVI: TEXINDEX=C:/Rtools/bin/texindex.exe texify
TEXI2ANY: C:/Perl/bin/perl.exe -IC:/msys64/usr/bin C:/msys64/usr/bin/texi2any
ISDIR: C:/Program Files (x86)/Inno Setup 5
# QPDF: C:/qpdf
TMPDIR: C:/Users/appveyor/AppData/Local/Temp
CPATH: ../../extsoft/include
EOPTS: -mtune=haswell
install:
# Install miktex to get pdflatex, if we don't get it from the cache
- if not exist c:\miktex\texmfs\install\miktex\bin\pdflatex.exe appveyor DownloadFile http://mirror.utexas.edu/ctan/systems/win32/miktex/setup/windows-x86/miktex-portable.exe
- if not exist c:\miktex\texmfs\install\miktex\bin\pdflatex.exe 7z x miktex-portable.exe -oC:\miktex >NUL
- set "PATH=%PATH%;c:\miktex\texmfs\install\miktex\bin;"
# autoinstall latex packages (0=no, 1=autoinstall, 2=ask)
# this adds this to the registry!
- initexmf --set-config-value "[MPM]AutoInstall=1"
- git submodule update --init --recursive
- ps: Import-Module '.\scripts\appveyor-tool.ps1'
- ps: Bootstrap
- cp -r c:\Rtools\Tcl64 r-source\Tcl
build_script:
- ECHO %PATH%
- cp src/extra/blas/Makefile.win r-source/src/extra/blas/.
- gcc --version
- gfortran --version
- cd r-source/src/gnuwin32
- make rsync-recommended
- make rsync-extsoft
- make all
- make distribution
artifacts:
- path: r-source/src/gnuwin32/installer/R*-win*.exe
deploy:
description: 'This is R, but compiled for Windows using OpenBLAS'
provider: GitHub
auth_token:
secure: 6VduGFAfk0LDLzJDnzCakW7vldMxkkaw4OHCYkFqyecDV9sKE+MdEP5Go4zpmt3c
artifact: /.*\.exe/
draft: false
prerelease: false
on:
appveyor_repo_tag: true # deploy on tag push only