Skip to content

CI: update matrix.

CI: update matrix. #33

Workflow file for this run

name: Build on MacOS
on:
push:
branches: [ master ]
tags: [ REL_* ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-latest
defaults:
run:
shell: sh
steps:
- uses: actions/checkout@v3
- name: start pg
run: |
brew services start postgresql
- name: install lua
run: |
brew install [email protected]
- name: lua environment
run: |
(echo LUA="/usr/local/opt/[email protected]/bin/lua"
echo LUAC="/usr/local/opt/[email protected]/bin/luac"
echo LUA_INCDIR="/usr/local/opt/[email protected]/include/lua"
echo LUALIB="-L/usr/local/opt/[email protected]/lib -llua"
) >>$GITHUB_ENV
- name: build
run:
make && sudo -E make install
- name: wait for pg
run: |
n=0
while ! pg_isready; do [ $(( n += 1 )) -gt 10 ] && exit 1; sleep $n; done
- name: test
run: |
time make installcheck
- name: build and test hstore
run: |
make -C hstore && sudo -E make -C hstore install && time make -C hstore installcheck
- name: show output
if: always()
run: |
cat regression.diffs || true
cat hstore/regression.diffs || true