mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-06-20 17:58:56 +02:00
Add gnu-sed
This commit is contained in:
parent
9530c5889d
commit
fa13dedef2
7
.github/workflows/boxes.yml
vendored
7
.github/workflows/boxes.yml
vendored
@ -51,15 +51,18 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# We need to use GNU grep on macOS
|
# We need to use GNU grep and sed on macOS
|
||||||
- name: add-packages
|
- name: add-packages
|
||||||
run: |
|
run: |
|
||||||
brew install flex bison diffutils lcov cmocka grep
|
brew install flex bison diffutils lcov cmocka grep gnu-sed
|
||||||
echo '/usr/local/opt/grep/libexec/gnubin' >> $GITHUB_PATH
|
echo '/usr/local/opt/grep/libexec/gnubin' >> $GITHUB_PATH
|
||||||
|
echo '/usr/local/opt/gnu-sed/libexec/gnubin' >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: make cov
|
- name: make cov
|
||||||
run: make cov LEX=/usr/local/opt/flex/bin/flex YACC=/usr/local/opt/bison/bin/bison
|
run: make cov LEX=/usr/local/opt/flex/bin/flex YACC=/usr/local/opt/bison/bin/bison
|
||||||
|
|
||||||
|
# This uses ld --wrap to mock the cmocka functions but
|
||||||
|
# macOS ld does not support --wrap
|
||||||
#- name: Run white-box tests
|
#- name: Run white-box tests
|
||||||
#run: make utest LEX=/usr/local/opt/flex/bin/flex YACC=/usr/local/opt/bison/bin/bison
|
#run: make utest LEX=/usr/local/opt/flex/bin/flex YACC=/usr/local/opt/bison/bin/bison
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user