diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index 459d3756b2..926022c686 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -8,6 +8,8 @@ jobs: build: runs-on: ubuntu-22.04 timeout-minutes: 30 + env: + ArrowVersion: 9.0.0-1 defaults: run: working-directory: ./cpp @@ -24,7 +26,7 @@ jobs: wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb sudo apt update - sudo apt install -y -V libarrow-dev libarrow-dataset-dev libparquet-dev + sudo apt install -y -V libarrow-dev=${ArrowVersion} libarrow-dataset-dev=${ArrowVersion} libparquet-dev=${ArrowVersion} - name: Cmake run: cmake -B build - name: Build @@ -41,7 +43,8 @@ jobs: - uses: actions/checkout@v2 - name: Install dependencies run: | - brew update + cd $(brew --repository) + git checkout 3.6.6 # Arrow 9.0 brew install apache-arrow protobuf - name: Cmake run: cmake -B build