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, python, curl, and jq are installed in the"
68 echo "base image already."
69 brew install autoconf automake libtool cpanm
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-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"
85 #- name: Setup upterm session
86 # uses: lhotari/action-upterm@v1
88 # limit-access-to-actor: true
91 CC: ${{ matrix.compiler }}
92 MAKEVARS: ${{ matrix.makevars }}
93 CONFIGURE_OPTS: ${{ matrix.configureopts }}
96 sudo lsof -nP -i:49188 || true
102 make DESTDIR=/tmp/h5l install
104 tar czf $HOME/heimdal-install-osx.tgz .
107 find build -depth -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/' | cpio -o > $HOME/logs-osx.cpio
108 find build -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/'|xargs cat
109 - name: Failed Test logs
112 find build -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/'|xargs cat
113 - name: Upload Install Tarball
114 uses: actions/upload-artifact@v2
116 name: Install Tarball
117 path: '~/heimdal-install-osx.tgz'
118 - name: Upload Artifacts
119 uses: actions/upload-artifact@v2
121 name: Upload Test Logs
122 path: '~/logs-osx.cpio'