Update emacs-apple.yml #63
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |