mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-01-20 20:58:35 +01:00
Add macOS CI
This commit is contained in:
parent
bfb8428f1f
commit
a14601bd09
27
.github/workflows/boxes.yml
vendored
27
.github/workflows/boxes.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user