File tree Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Original file line number Diff line number Diff line change @@ -11,29 +11,53 @@ defaults:
11
11
12
12
jobs :
13
13
run-checks :
14
- name : Run checks
15
- runs-on : ubuntu-22.04
14
+ name : Run checks on ${{matrix.cfg.name}}
15
+ runs-on : ${{matrix.cfg.os}}
16
+
17
+ strategy :
18
+ matrix :
19
+ cfg :
20
+ - { name: 'Linux', os: 'ubuntu-22.04' }
21
+ - { name: 'MacOS', os: 'macos-12' }
16
22
17
23
steps :
18
24
- name : checkout
19
25
uses : actions/checkout@v2
20
26
27
+ - name : install GNU tools
28
+ if : matrix.cfg.os == 'macos-12'
29
+ run : |
30
+ brew install gnu-sed
31
+ echo "/usr/local/opt/gnu-sed/libexec/gnubin" >> ${GITHUB_PATH}
32
+
21
33
- name : check-source.sh
22
34
run : ../tools/check-source.sh
23
35
24
36
- name : update-apt-cache
37
+ if : matrix.cfg.os == 'ubuntu-22.04'
25
38
run : sudo apt-get update
26
39
27
- - name : install
40
+ - name : install (Linux)
41
+ if : matrix.cfg.os == 'ubuntu-22.04'
28
42
run : sudo apt-get install latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended lmodern
29
43
44
+ - name : install (MacOS, Part 1/2)
45
+ if : matrix.cfg.os == 'macos-12'
46
+ run : |
47
+ brew install basictex
48
+ eval "$(/usr/libexec/path_helper)"
49
+ echo "PATH=${PATH}" >> ${GITHUB_ENV}
50
+ sudo tlmgr update --self
51
+ sudo tlmgr install latexmk isodate substr relsize ulem fixme rsfs extract layouts enumitem l3packages l3kernel imakeidx splitindex xstring
52
+
30
53
- name : make
31
54
run : make quiet
32
55
33
56
- name : check-output.sh
34
57
run : ../tools/check-output.sh
35
58
36
59
- name : upload PDF
60
+ if : matrix.cfg.os == 'ubuntu-22.04'
37
61
uses : actions/upload-artifact@v2
38
62
with :
39
63
name : draft-snapshot
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Install the `MacTeX distribution <http://tug.org/mactex/>`_.
24
24
If you are on a slow network, you'll want to get the `BasicTeX package <http://tug.org/mactex/morepackages.html >`_ instead,
25
25
then run the following command to install the other packages that the draft requires:
26
26
27
- sudo tlmgr install latexmk isodate substr relsize ulem fixme rsfs extract layouts enumitem l3packages l3kernel imakeidx splitindex
27
+ sudo tlmgr install latexmk isodate substr relsize ulem fixme rsfs extract layouts enumitem l3packages l3kernel imakeidx splitindex xstring
28
28
29
29
---------------------------------------
30
30
Getting Started on Debian-based Systems
You can’t perform that action at this time.
0 commit comments