From d5e21b7771fe5c9f35c3bb75b8471926176aefd5 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Thu, 17 Mar 2022 21:03:17 -0500 Subject: [PATCH] GitHub: Do not build docs in OS X Texinfo in the GitHub OS X runners must be ancient. Even Texinfo 5.1 can handle UTF-8. ``` MAKEINFO /Users/runner/work/heimdal/heimdal/doc/heimdal.info /Users/runner/work/heimdal/heimdal/doc/hx509.texi:11: warning: unrecognized encoding name `UTF-8'. /Users/runner/work/heimdal/heimdal/doc/heimdal.texi:12: warning: unrecognized encoding name `UTF-8'. /Users/runner/work/heimdal/heimdal/doc//setup.texi:380: Next field of node `Using soft aliases for configuring referrals' not pointed to (perhaps incorrect sectioning?). /Users/runner/work/heimdal/heimdal/doc//setup.texi:404: This node (Checking the setup) has the bad Prev. /Users/runner/work/heimdal/heimdal/doc//setup.texi:350: Prev field of node `Using hard aliases for realm migration' not pointed to. /Users/runner/work/heimdal/heimdal/doc//setup.texi:310: This node (Using namespaces and synthetic principals to keep the database small) has the bad Next. makeinfo: Removing output file `/Users/runner/work/heimdal/heimdal/doc/heimdal.info' due to errors; use --force to preserve. make[1]: *** [/Users/runner/work/heimdal/heimdal/doc/heimdal.info] Error 1 ``` --- .github/workflows/osx.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 342f850f1..3463e99b6 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -66,7 +66,7 @@ jobs: echo "bison, flex, ncurses, texinfo, and unzip are in the base OS." echo "berkeley-db, perl, python, curl, and jq are installed in the" echo "base image already." - brew install autoconf automake libtool cpanm + brew install autoconf automake libtool cpanm texinfo texi2html sudo cpanm install JSON - name: Clone repository uses: actions/checkout@v1 @@ -79,8 +79,10 @@ jobs: /bin/sh ./autogen.sh mkdir build cd build - ../configure --srcdir=`dirname "$PWD"` --disable-afs-support --enable-maintainer-mode --enable-developer $CONFIGURE_OPTS --prefix=$HOME/inst CFLAGS="-Wno-error=shadow -Wno-error=bad-function-cast -Wno-error=unused-function -Wno-error=unused-result -Wno-error=deprecated-declarations" CFLAGS="-O0 -g -ggdb3" + ../configure --srcdir=`dirname "$PWD"` --disable-heimdal-documentation --disable-afs-support --enable-maintainer-mode --enable-developer $CONFIGURE_OPTS --prefix=$HOME/inst CFLAGS="-Wno-error=shadow -Wno-error=bad-function-cast -Wno-error=unused-function -Wno-error=unused-result -Wno-error=deprecated-declarations" CFLAGS="-O0 -g -ggdb3" ulimit -c unlimited + PATH=/usr/local/opt/texinfo/bin:$PATH + export PATH make -j4 #- name: Setup upterm session # uses: lhotari/action-upterm@v1