forked from emacs-mirror/emacs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (50 loc) · 1.94 KB
/
emacs.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
name: cooljeanius/emacs
on:
push:
branches:
- "**/*"
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/[email protected]
# # 'Transformers::TravisCI::Scripts::Dependencies' dependencies are currently unsupported
# # 'compiler' was not transformed because there is no suitable equivalent in GitHub Actions
- run: sudo apt-get update -qq
- run: DEBIAN_FRONTEND=noninteractive sudo apt-get install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 libc-dev gcc make autoconf automake libncurses-dev gobjc gobjc++ gobjc-multilib gobjc++-multilib autopoint
- name: Initial build
run: |
sh ./autogen.sh
./configure --without-makeinfo --without-gif --without-gnutls --enable-silent-rules --disable-autodepend --without-imagemagick --enable-gcc-warnings --with-x-toolkit=no --with-xpm=no --disable-openmp
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)"; \
sudo apt-get install texlive ghostscript texlive-luatex texlive-pstricks chktex dvidvi dvipng latexdiff latexmk dot2tex texlive-latex-extra; \
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
strategy:
matrix:
compiler:
- clang
- gcc