File tree Expand file tree Collapse file tree 4 files changed +41
-0
lines changed
Expand file tree Collapse file tree 4 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -228,6 +228,9 @@ jobs:
228228 run : |
229229 choco install --no-progress --yes boost-msvc-14.1
230230 choco install --no-progress --yes wget
231+ - name : Download Timezone Database
232+ shell : bash
233+ run : ci/scripts/download_tz_database.sh
231234 - name : Run verification
232235 env :
233236 GH_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change @@ -302,6 +302,7 @@ repos:
302302 ?^ci/scripts/conan_build\.sh$|
303303 ?^ci/scripts/conan_setup\.sh$|
304304 ?^ci/scripts/cpp_test\.sh$|
305+ ?^ci/scripts/download_tz_database\.sh$|
305306 ?^ci/scripts/install_azurite\.sh$|
306307 ?^ci/scripts/install_ccache\.sh$|
307308 ?^ci/scripts/install_ceph\.sh$|
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ #
3+ # Licensed to the Apache Software Foundation (ASF) under one
4+ # or more contributor license agreements. See the NOTICE file
5+ # distributed with this work for additional information
6+ # regarding copyright ownership. The ASF licenses this file
7+ # to you under the Apache License, Version 2.0 (the
8+ # "License"); you may not use this file except in compliance
9+ # with the License. You may obtain a copy of the License at
10+ #
11+ # http://www.apache.org/licenses/LICENSE-2.0
12+ #
13+ # Unless required by applicable law or agreed to in writing,
14+ # software distributed under the License is distributed on an
15+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+ # KIND, either express or implied. See the License for the
17+ # specific language governing permissions and limitations
18+ # under the License.
19+
20+ # Downloads IANA timezone database for use with the vendored date library
21+ # on Windows when not using MSVC (e.g., MinGW builds).
22+
23+ set -ex
24+
25+ # Download database
26+ curl https://data.iana.org/time-zones/releases/tzdata2024b.tar.gz --output ~ /Downloads/tzdata.tar.gz
27+
28+ # Extract
29+ mkdir -p ~ /Downloads/tzdata
30+ tar --extract --file ~ /Downloads/tzdata.tar.gz --directory ~ /Downloads/tzdata
31+
32+ # Download Windows timezone mapping
33+ curl https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml --output ~ /Downloads/tzdata/windowsZones.xml
Original file line number Diff line number Diff line change 4040 choco install boost-msvc-14.1
4141 choco install wget
4242
43+ - name : Download Timezone Database
44+ shell : bash
45+ run : arrow/ci/scripts/download_tz_database.sh
46+
4347 - name : Run verification
4448 shell : cmd
4549 run : |
You can’t perform that action at this time.
0 commit comments