Apache DataFusion SQL Query Engine
ARROW-7607: [C++] Example of using Arrow as a dependency of another CMake project
Antoine Pitrou877782721d60
diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.ymlindex d0b9a3752c..d8eab59590 100644--- a/.github/workflows/cpp.yml+++ b/.github/workflows/cpp.yml@@ -163,6 +163,27 @@ jobs:continue-on-error: truerun: archery docker push ${{ matrix.image }}+ build-example:+ name: C++ Minimal Build Example+ runs-on: ubuntu-latest+ if: ${{ !contains(github.event.pull_request.title, 'WIP') }}+ strategy:+ fail-fast: false+ steps:+ - name: Checkout Arrow+ uses: actions/checkout@v2+ with:+ fetch-depth: 0+ - name: Build Docker image+ run: |+ cd cpp/examples/minimal_build+ docker build -t arrow_cpp_minimal .+ - name: Compile and run example+ run: |+ ARROW_ROOT=$PWD+ cd cpp/examples/minimal_build+ docker run -v $PWD:/io -v $ARROW_ROOT:/arrow arrow_cpp_minimal /io/run.sh+macos:name: AMD64 MacOS 10.15 C++runs-on: macos-latest