-
-
Notifications
You must be signed in to change notification settings - Fork 1
93 lines (85 loc) · 2.14 KB
/
test.yaml
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#
# Name.
#
name: test
#
# Triggers.
#
on:
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- make
paths-ignore:
- '**.md'
#
# Jobs.
#
jobs:
linux:
runs-on: debian-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
- uses: actions/cache@v2
with:
path: /usr/share
key: a-${{ runner.os }}-cache
- run: sudo apt-get update
- run: sudo apt-get install build-essential
- run: sudo apt-get install texlive-xetex
- run: sudo apt-get install imagemagick
- run: sudo apt-get install libreoffice
- run: sudo apt-get install ufraw-batch
- run: sudo apt-get install fontforge
- run: sudo apt-get install inkscape
- run: sudo apt-get install ffmpeg
- run: sudo apt-get install rar
- run: npm install
- run: npm test
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
- uses: actions/cache@v2
with:
path: C:\ProgramData
key: a-${{ runner.os }}-cache
- run: choco install libreoffice-fresh
- run: choco install imagemagick --version 7.0.10.19
- run: choco install fontforge
- run: choco install ffmpeg
- run: choco install miktex
- run: choco install pandoc
- run: npm install
- run: npm test
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
- uses: actions/cache@v2
with:
path: /usr/local
key: a-${{ runner.os }}-cache
- run: brew cask install rar
- run: brew cask install java
- run: brew cask install mactex
- run: brew cask install inkscape
- run: brew cask install libreoffice
- run: brew install imagemagick
- run: brew install fontforge
- run: brew install ffmpeg
- run: brew install p7zip
- run: brew install ufraw
- run: npm install
- run: npm test