Skip to content

[ci] Adjust macos bootstrap step #78

[ci] Adjust macos bootstrap step

[ci] Adjust macos bootstrap step #78

Workflow file for this run

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@v4
with:
show-progress: false
- name: Install CCache
uses: hendrikmuhs/ccache-action@v1
with:
key: macos
- name: Install package dependencies
run: |
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 - lib doc; 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: Post-bootstrap
run: git status --porcelain