Skip to content

Commit

Permalink
GH-41124: [CI][C++] Don't use CMake 3.29.1 with vcpkg
Browse files Browse the repository at this point in the history
vcpkg doesn't work with CMake 3.29.1.

See also: microsoft/vcpkg#37968
  • Loading branch information
kou committed Apr 11, 2024
1 parent b3b4521 commit df2a078
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions dev/tasks/vcpkg-tests/github.windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
env:
VCPKG_BINARY_SOURCES: 'clear;nuget,GitHub,readwrite'
steps:
- name: Checkout Arrow
run: |
git clone --no-checkout {{ arrow.remote }} arrow
git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
git -C arrow checkout FETCH_HEAD
git -C arrow submodule update --init --recursive
{{ macros.github_checkout_arrow()|indent }}
# CMake 3.29.1 that is pre-installed on the Windows image has a problem.
# See also: https://github.com/microsoft/vcpkg/issues/37968
- name: Install CMake 3.29.0
shell: bash
run: arrow/ci/scripts/install_cmake.sh 3.29.0
- name: Download Timezone Database
shell: bash
run: arrow/ci/scripts/download_tz_database.sh
Expand All @@ -59,7 +59,7 @@ jobs:
CALL setx PATH "%PATH%;C:\vcpkg"
- name: Setup NuGet Credentials
shell: bash
env:
env:
GITHUB_TOKEN: {{ '${{ secrets.GITHUB_TOKEN }}' }}
run: |
`vcpkg fetch nuget | tail -n 1` \
Expand Down

0 comments on commit df2a078

Please sign in to comment.