Skip to content

Commit 01893ab

Browse files
committed
[CI] Add macOS build
1 parent c191f89 commit 01893ab

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/build.yml

+15
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,18 @@ jobs:
2020
with:
2121
name: pdf-linux
2222
path: '*.pdf'
23+
macos-build:
24+
runs-on: macos-latest
25+
steps:
26+
- uses: actions/checkout@v4
27+
- name: Setup environment
28+
run: |
29+
brew install --cask mactex
30+
- name: Build
31+
run: |
32+
eval "$(/usr/libexec/path_helper)"
33+
find . -iname '*.tex' -exec pdflatex {} \;
34+
- uses: actions/upload-artifact@v4
35+
with:
36+
name: pdf-macos
37+
path: '*.pdf'

0 commit comments

Comments
 (0)