Add macOS CI

This commit is contained in:
Matthew Thompson 2023-08-24 10:18:44 -04:00 committed by Thomas Jensen
parent bfb8428f1f
commit a14601bd09

View File

@ -45,3 +45,30 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: out/lcov-total.info
format: lcov
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: add-packages
run: |
brew update
brew install flex bison libunistring pcre2 ncurses diffutils lcov cmocka
brew upgrade
- name: make cov
run: make cov
- name: Run white-box tests
run: make utest
- name: Run black-box tests
run: make covtest
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: out/lcov-total.info
format: lcov