Skip to content

Commit

Permalink
add special support to the four bytes utf-8 char (#26)
Browse files Browse the repository at this point in the history
add special support to the four bytes utf-8 char

Signed-off-by: wangbaiping <[email protected]>
  • Loading branch information
code committed Jul 31, 2023
1 parent 062ae70 commit b6dedde
Show file tree
Hide file tree
Showing 7 changed files with 450 additions and 103 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- name: build
run: |
bazel build //hessian2/...
bazel build --cxxopt="-DCOMPATIBLE_WITH_JAVA_HESSIAN_LITE" //hessian2/...
- name: demo-build
run: |
Expand All @@ -42,6 +43,7 @@ jobs:
- name: test
run: |
bazel test //hessian2/...
bazel test --cxxopt="-DCOMPATIBLE_WITH_JAVA_HESSIAN_LITE" //hessian2/...
- name: Install lcov and genhtml and link llvm
run: |
Expand Down
3 changes: 2 additions & 1 deletion coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ echo " DATA_DIR=${DATA_DIR}"
echo " TARGETS=${COVERAGE_TARGETS}"

echo "Generating coverage data..."
bazel coverage ${COVERAGE_TARGETS} --test_output=errors
bazel coverage --test_output=errors --cxxopt="-DCOMPATIBLE_WITH_JAVA_HESSIAN_LITE" \
${COVERAGE_TARGETS}

rm -rf ${OUTPUT_DIR}
mkdir -p ${OUTPUT_DIR}
Expand Down
Loading

0 comments on commit b6dedde

Please sign in to comment.