Skip to content

Commit

Permalink
Update arch for coverage job
Browse files Browse the repository at this point in the history
  • Loading branch information
jmroot committed Feb 7, 2024
1 parent 1e5fd69 commit 9e73ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
set -eu
xcrun llvm-profdata merge --sparse --output=cov.profdata cov-*.profraw
# tracelib cannot be profiled
OBJ_FILES="$(find src -type f "(" -name "*.dylib" -o -name "*.a" ")" | grep -Fv darwintracelib1.0 | sed 's/^/--arch=x86_64 --object=/')"
OBJ_FILES="$(find src -type f "(" -name "*.dylib" -o -name "*.a" ")" | grep -Fv darwintracelib1.0 | sed 's/^/--arch=arm64 --object=/')"
xcrun llvm-cov show --format=html --output-dir=covreport --ignore-filename-regex=vendor/ --instr-profile=cov.profdata $OBJ_FILES
xcrun llvm-cov report --ignore-filename-regex=vendor/ --instr-profile=cov.profdata $OBJ_FILES
- name: Archive code coverage results
Expand Down

0 comments on commit 9e73ac0

Please sign in to comment.