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
    ```
This commit is contained in:
Nicolas Williams
2022-03-17 21:03:17 -05:00
parent 0068ff7a94
commit d5e21b7771

View File

@@ -66,7 +66,7 @@ jobs:
echo "bison, flex, ncurses, texinfo, and unzip are in the base OS." 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 "berkeley-db, perl, python, curl, and jq are installed in the"
echo "base image already." echo "base image already."
brew install autoconf automake libtool cpanm brew install autoconf automake libtool cpanm texinfo texi2html
sudo cpanm install JSON sudo cpanm install JSON
- name: Clone repository - name: Clone repository
uses: actions/checkout@v1 uses: actions/checkout@v1
@@ -79,8 +79,10 @@ jobs:
/bin/sh ./autogen.sh /bin/sh ./autogen.sh
mkdir build mkdir build
cd 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 ulimit -c unlimited
PATH=/usr/local/opt/texinfo/bin:$PATH
export PATH
make -j4 make -j4
#- name: Setup upterm session #- name: Setup upterm session
# uses: lhotari/action-upterm@v1 # uses: lhotari/action-upterm@v1