This is an automated email from the ASF dual-hosted git repository.

weibin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-graphar.git


The following commit(s) were added to refs/heads/main by this push:
     new dcfd732e chore(CI): Opened macOS CI (#563)
dcfd732e is described below

commit dcfd732e17ea7fef776d0f785d71adbb2687f582
Author: Jingbo Xu <[email protected]>
AuthorDate: Tue Jul 30 16:14:31 2024 +0800

    chore(CI): Opened macOS CI (#563)
    
    * open macOS ci.
    
    * add proto includes.
    
    * try to elimite false-positive report as hitted.
---
 .github/workflows/ci.yml | 4 +---
 cpp/CMakeLists.txt       | 3 +++
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6d4dea44..c07bb1f8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -167,9 +167,6 @@ jobs:
   macos:
     name: ${{ matrix.architecture }} macOS ${{ matrix.macos-version }} C++
     runs-on: macos-${{ matrix.macos-version }}
-    # TODO: enable this when the arrow of brew enable ARROW_ORC again
-    # see 
https://github.com/Homebrew/homebrew-core/blob/4588359b7248b07379094de5310ee7ff89afa17e/Formula/a/apache-arrow.rb#L53
-    if: false
     env:
       GAR_TEST_DATA: ${{ github.workspace }}/graphar-testing/
     strategy:
@@ -213,5 +210,6 @@ jobs:
         cmake .. -DUSE_STATIC_ARROW=ON -DCMAKE_BUILD_TYPE=Debug 
-DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DBUILD_BENCHMARKS=ON
         make -j$(nproc)
         export ASAN_OPTIONS=detect_leaks=0
+        export ASAN_OPTIONS=detect_container_overflow=0
         ctest --output-on-failure
         popd
\ No newline at end of file
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index bd7cfd30..ef54cbf7 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -207,6 +207,9 @@ if (NOT ${Parquet_FOUND})
     message(FATAL_ERROR "parquet is required, please install it and retry")
 endif()
 
+find_package(Protobuf REQUIRED)
+include_directories(${PROTOBUF_INCLUDE_DIRS})
+
 macro(get_target_location var target)
   if(TARGET ${target})
     foreach(prop LOCATION LOCATION_NOCONFIG LOCATION_DEBUG LOCATION_RELEASE)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to