diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-02-20 08:04:48 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-02-20 13:50:07 +0100 |
| commit | b8a9c47f5edf5496d7ac3148fb97325a1c947f91 (patch) | |
| tree | 0fee3b75f79c5cbdf0d20eb22acbd91ba96bdb5e /.github/workflows | |
| parent | 60d3e5f01e72c9a1f11e5506c5ab9ecce8a43f18 (diff) | |
| download | vis-b8a9c47f5edf5496d7ac3148fb97325a1c947f91.tar.gz vis-b8a9c47f5edf5496d7ac3148fb97325a1c947f91.tar.xz | |
ci: add macOS builds
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/macos.yml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..5b420ad --- /dev/null +++ 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) |
