vis

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

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

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

ci: add ubuntu builds

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

diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml @@ -0,0 +1,56 @@ +name: Ubuntu + +on: [push, pull_request] + +jobs: + build: + strategy: + matrix: + os: + - ubuntu-16.04 + - ubuntu-18.04 + config: + - "" + - --disable-curses + - --disable-lua + - --disable-tre + - --disable-selinux + - --disable-acl + - --disable-help + runs-on: ${{ matrix.os }} + env: + CFLAGS_EXTRA: --coverage + steps: + + - name: Checkout + uses: actions/checkout@v2 + + - name: Dependency + run: | + sudo apt install \ + 9base \ + libacl1-dev \ + liblua5.3-dev \ + libncursesw5-dev \ + libselinux1-dev \ + libtermkey-dev \ + libtre-dev \ + lua-lpeg + + - name: Dependency Ubuntu 18.04 + if: matrix.os == 'ubuntu-18.04' + run: | + sudo apt install lua-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)