forked from emacs-mirror/emacs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (54 loc) · 1.58 KB
/
emacs-apple.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
name: cooljeanius/emacs-apple
on:
push:
branches:
- "**/*"
pull_request:
jobs:
test:
runs-on: macos-latest
steps:
- name: checkout
uses: actions/[email protected]
- run: brew update
- run: brew install gcc make autoconf automake gettext texinfo
- name: Initial build
run: |
sh ./autogen.sh
./configure --enable-silent-rules --disable-autodepend --enable-gcc-warnings --enable-better-debugging --with-x-toolkit=no --disable-dependency-tracking
make only_temacs
cd lisp && make update-subdirs
- run: make all_only_c
if: "${{ success() }}"
- name: Build docs
if: "${{ success() }}"
run: |
if test -d doc && test -x "$(which makeinfo)"; then \
echo "using $(which makeinfo) for makeinfo with the following version info: $(makeinfo --version)"; \
brew install texlive; \
make -C doc || (make -C doc/emacs && make -C doc/lispintro && make -C doc/lispref && make -C doc/man); \
if [ $? -ge 1 ]; then \
echo "giving doc/misc another try"; \
pushd doc/misc; \
make echo-info; \
make dvi; \
make html; \
make pdf; \
make ps; \
make dist; \
popd; \
else \
echo "so much for doc/misc..."; \
fi; \
fi
- name: Apple stuff
if: "${{ success() }}"
run: |
make install_source
make apple_helper_executables
make apple_check
strategy:
matrix:
compiler:
- clang
- gcc