Skip to content

Commit df2a078

Browse files
committed
apacheGH-41124: [CI][C++] Don't use CMake 3.29.1 with vcpkg
vcpkg doesn't work with CMake 3.29.1. See also: microsoft/vcpkg#37968
1 parent b3b4521 commit df2a078

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

dev/tasks/vcpkg-tests/github.windows.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
env:
3232
VCPKG_BINARY_SOURCES: 'clear;nuget,GitHub,readwrite'
3333
steps:
34-
- name: Checkout Arrow
35-
run: |
36-
git clone --no-checkout {{ arrow.remote }} arrow
37-
git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
38-
git -C arrow checkout FETCH_HEAD
39-
git -C arrow submodule update --init --recursive
34+
{{ macros.github_checkout_arrow()|indent }}
35+
# CMake 3.29.1 that is pre-installed on the Windows image has a problem.
36+
# See also: https://github.com/microsoft/vcpkg/issues/37968
37+
- name: Install CMake 3.29.0
38+
shell: bash
39+
run: arrow/ci/scripts/install_cmake.sh 3.29.0
4040
- name: Download Timezone Database
4141
shell: bash
4242
run: arrow/ci/scripts/download_tz_database.sh
@@ -59,7 +59,7 @@ jobs:
5959
CALL setx PATH "%PATH%;C:\vcpkg"
6060
- name: Setup NuGet Credentials
6161
shell: bash
62-
env:
62+
env:
6363
GITHUB_TOKEN: {{ '${{ secrets.GITHUB_TOKEN }}' }}
6464
run: |
6565
`vcpkg fetch nuget | tail -n 1` \

0 commit comments

Comments
 (0)