Skip to content

Commit

Permalink
Fix MacOS build
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
  • Loading branch information
Alan Jowett committed Aug 7, 2023
1 parent aee07c0 commit eadf320
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,13 @@ jobs:
--target test
- name: Generate code coverage report
if: inputs.enable_coverage == true
if: inputs.enable_coverage == true && inputs.platform == 'macos-11'
run: |
mkdir -p coverage
lcov --capture --directory build --include '${{env.GITHUB_WORKSPACE}}/*' --output-file coverage/lcov.info --ignore-errors inconsistent
- name: Generate code coverage report
if: inputs.enable_coverage == true && inputs.platform != 'macos-11'
run: |
mkdir -p coverage
lcov --capture --directory build --include '${{env.GITHUB_WORKSPACE}}/*' --output-file coverage/lcov.info
Expand Down

0 comments on commit eadf320

Please sign in to comment.