forked from smudgelang/smudge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
57 lines (46 loc) · 2.03 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
# From: https://www.snoyman.com/blog/2016/08/appveyor-haskell-windows-ci
build: off
before_test:
# http://help.appveyor.com/discussions/problems/6312-curl-command-not-found
- mkdir .local\bin
- set PATH=%CD%\.local\bin;C:\MinGW\bin;C:\Program Files\Git\mingw64\bin;%PATH%
- curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
- 7z e -o.local\bin stack.zip stack.exe
- curl -sS -ographviz.zip -L --insecure https://graphviz.gitlab.io/_pages/Download/windows/graphviz-2.38.zip
- 7z e -o.local\bin graphviz.zip release\bin
- curl -sS -oinstall-tl.zip -L --insecure http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip
- 7z x -o.local\ install-tl.zip
- move .local\install-tl* .local\install-tl
- echo selected_scheme scheme-minimal> .local\install-tl\profile
- echo TEXDIR %CD%\.local\tex>> .local\install-tl\profile
- echo TEXMFLOCAL %CD%\.local\tex\texmf-local>> .local\install-tl\profile
- echo TEXMFSYSCONFIG %CD%\.local\tex\texmf-config>> .local\install-tl\profile
- echo TEXMFSYSVAR %CD%\.local\tex\texmf-var>> .local\install-tl\profile
- echo option_doc ^0>> .local\install-tl\profile
- echo option_src ^0>> .local\install-tl\profile
- .local\install-tl\install-tl-windows.bat -portable -no-gui -profile=.local\install-tl\profile <nul
- set PATH=%CD%\.local\tex\bin\win32;%PATH%
- tlmgr install amscls amsmath latex-bin listofitems mdwtools readarray semantic tools verbatimbox
- pip install rst2pdf==0.93
- curl -sS -oinnosetup.exe -L --insecure http://www.jrsoftware.org/download.php/is.exe
- .\innosetup.exe /VERYSILENT /DIR=".local\innosetup"
- set PATH=%CD%\.local\innosetup;%PATH%
clone_folder: "c:\\smudge"
environment:
global:
STACK_ROOT: "c:\\sr"
test_script:
- stack setup > nul
- mingw32-make package examples doc STACK_FLAGS="--no-terminal"
artifacts:
- path: smudge_*_*.zip
name: Smudge Archive
- path: smudge_*_*.exe
name: Smudge Installer
deploy:
description:
provider: GitHub
auth_token:
secure: 8aqZTF5XKmGIIYmrs7IQ7ff/vEAbY7+0wfG7u/xaay41KNhPFgyfaXuGPu70zWx7
on:
appveyor_repo_tag: true