26 - '.github/workflows/osx.yml'
48 - '.github/workflows/osx.yml'
54 runs-on: ${{ matrix.os }}
64 - name: Install packages
66 echo "bison, flex, ncurses, texinfo, and unzip are in the base OS."
67 echo "berkeley-db, perl, python3, curl, and jq are installed in the"
68 echo "base image already."
69 brew install autoconf automake libtool cpanm texinfo texi2html
70 sudo cpanm install JSON
71 - name: Clone repository
72 uses: actions/checkout@v1
75 CC: ${{ matrix.compiler }}
76 MAKEVARS: ${{ matrix.makevars }}
77 CONFIGURE_OPTS: ${{ matrix.configureopts }}
82 ../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"
84 PATH=/usr/local/opt/texinfo/bin:$PATH
87 #- name: Setup upterm session
88 # uses: lhotari/action-upterm@v1
90 # limit-access-to-actor: true
93 CC: ${{ matrix.compiler }}
94 MAKEVARS: ${{ matrix.makevars }}
95 CONFIGURE_OPTS: ${{ matrix.configureopts }}
98 sudo lsof -nP -i:49188 || true
104 make DESTDIR=/tmp/h5l install
106 tar czf $HOME/heimdal-install-osx.tgz .
109 find build -depth -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/' | cpio -o > $HOME/logs-osx.cpio
110 find build -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/'|xargs cat
111 - name: Failed Test logs
114 find build -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/'|xargs cat
115 - name: Upload Install Tarball
116 uses: actions/upload-artifact@v2
118 name: Install Tarball
119 path: '~/heimdal-install-osx.tgz'
120 - name: Upload Artifacts
121 uses: actions/upload-artifact@v2
123 name: Upload Test Logs
124 path: '~/logs-osx.cpio'