Try disabling PROJ network access #73
Workflow file for this run
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: CI | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push, or for pull requests against master | |
push: | |
paths-ignore: | |
- NEWS | |
pull_request: | |
branches: [ master ] | |
paths-ignore: | |
- NEWS | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
macos: | |
runs-on: 'macos-latest' | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Install CCache | |
uses: hendrikmuhs/ccache-action@v1 | |
with: | |
key: macos | |
- name: Install package dependencies | |
run: | | |
# Workaround apparent homebrew bug 2023-11-17 | |
rm -f /usr/local/bin/2to3-3.11 /usr/local/bin/idle3.11 /usr/local/bin/pydoc3.11 /usr/local/bin/python3.11 /usr/local/bin/python3.11-config | |
rm -f /usr/local/bin/2to3 /usr/local/bin/idle3 /usr/local/bin/pydoc3 /usr/local/bin/python3 /usr/local/bin/python3-config | |
brew update | |
brew install \ | |
automake \ | |
ffmpeg \ | |
gettext \ | |
gnu-tar \ | |
netpbm \ | |
proj \ | |
wxwidgets | |
brew link --force gettext | |
cpan -T -i local::lib < /dev/null | |
cpan -I -T -i Locale::PO < /dev/null | |
- name: bootstrap source tree | |
run: | | |
autoreconf -fiv | |
git checkout INSTALL | |
V=`sed -e 's/^AC_INIT[^,]*, *\[\([^]]*\)\].*/\1/p;d' configure.ac` ; curl https://survex.com/software/$V/survex-$V.tar.gz | gtar --strip-components=1 --skip-old-files -zxf - ; ls -lrt lib ; touch lib/unifont.pixelfont lib/preload_font.h; echo ; ls -lrt doc; touch doc/*.1 doc/manual.txt doc/manual.pdf doc/manual/stampfile | |
- name: configure | |
run: ./configure CC='ccache gcc' CXX='ccache g++' | |
- name: make | |
run: | | |
eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)" | |
make -j3 | |
- name: Run tests | |
run: make check VERBOSE=1 | |
- name: Check generated files are in .gitignore | |
# grep '^' passes through all input while giving a non-zero exit status | |
# if that input is empty. | |
run: | | |
#find . \( -name 'config.guess~' -o -name 'config.sub~' -o -name 'install-sh~' \) -delete | |
printf '%s\n' .ccache > ".git/info/exclude" | |
git status --porcelain|grep '^' && { echo "The generated files listed above are not in .gitignore" ; exit 1; }; true |