vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit e7cbffd1e22da4c019e4cc65ebc854953fb3aab5
parent b4d6be96aa182d1b7450d2d7df7672c7680c76fa
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 20 Feb 2020 08:04:48 +0100

ci: add macOS builds

Diffstat:
A.github/workflows/macos.yml | 50++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml @@ -0,0 +1,50 @@ +name: macOS + +on: [push, pull_request] + +jobs: + build: + strategy: + matrix: + os: + - macos-10.15 + config: + - "" + - --disable-curses + - --disable-lua + - --disable-tre + - --disable-help + runs-on: ${{ matrix.os }} + env: + CFLAGS_EXTRA: --coverage + steps: + + - name: Checkout + uses: actions/checkout@v2 + + - name: Dependency Homebrew + run: | + brew install \ + libtermkey \ + lua \ + luarocks \ + tre \ + pkg-config + + - name: Dependency LuaRocks + run: | + luarocks install lpeg + luarocks install busted + + - name: Build + run: | + ./configure ${{ matrix.config }} + make + + - name: Test + run: | + make test + + - name: Upload Test Coverage + run: | + bash <(curl -s https://codecov.io/bash)