Skip to content

Commit f1661be

Browse files
committed
experiment
1 parent 6bd7409 commit f1661be

File tree

4 files changed

+12
-16
lines changed

4 files changed

+12
-16
lines changed

.github/workflows/cpp.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,18 @@ jobs:
366366
run: |
367367
export CMAKE_BUILD_PARALLEL_LEVEL=$NUMBER_OF_PROCESSORS
368368
ci/scripts/cpp_build.sh "$(pwd)" "$(pwd)/build"
369+
- name: Download Timezone Database for vendored date library (Clang64)
370+
if: matrix.msystem_upper == 'CLANG64'
371+
shell: msys2 {0}
372+
run: |
373+
# TODO(GH-48743): Clang64 uses vendored date library which needs tzdata
374+
# https://github.com/apache/arrow/issues/48743
375+
mkdir -p /c/Users/runneradmin/Downloads/tzdata
376+
curl -sL https://data.iana.org/time-zones/releases/tzdata2024b.tar.gz | \
377+
tar -xz -C /c/Users/runneradmin/Downloads/tzdata
378+
# Also need windowsZones.xml from Unicode CLDR for Windows timezone mapping
379+
curl -sL -o /c/Users/runneradmin/Downloads/tzdata/windowsZones.xml \
380+
https://raw.githubusercontent.com/unicode-org/cldr/main/common/supplemental/windowsZones.xml
369381
- name: Download MinIO
370382
shell: msys2 {0}
371383
run: |
@@ -386,18 +398,6 @@ jobs:
386398
PIPX_BASE_PYTHON: ${{ steps.python-install.outputs.python-path }}
387399
run: |
388400
ci/scripts/install_gcs_testbench.sh default
389-
- name: Download tzdata for vendored date library (Clang64)
390-
if: matrix.msystem_upper == 'CLANG64'
391-
shell: msys2 {0}
392-
run: |
393-
# TODO(GH-48743): Clang64 uses vendored date library which needs tzdata
394-
# https://github.com/apache/arrow/issues/48743
395-
mkdir -p /c/Users/runneradmin/Downloads/tzdata
396-
curl -sL https://data.iana.org/time-zones/releases/tzdata2024b.tar.gz | \
397-
tar -xz -C /c/Users/runneradmin/Downloads/tzdata
398-
# Also need windowsZones.xml from Unicode CLDR for Windows timezone mapping
399-
curl -sL -o /c/Users/runneradmin/Downloads/tzdata/windowsZones.xml \
400-
https://raw.githubusercontent.com/unicode-org/cldr/main/common/supplemental/windowsZones.xml
401401
- name: Test
402402
shell: msys2 {0}
403403
env:

c_glib/test/test-assume-timezone-options.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def test_nonexistent_property
4545
end
4646

4747
def test_assume_timezone_function
48-
omit("std::chrono not available on Windows MinGW") if Gem.win_platform?
4948
args = [
5049
Arrow::ArrayDatum.new(build_timestamp_array(:milli, [1504953190000])),
5150
]

c_glib/test/test-day-of-week-options.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ def test_week_start_property
3939
end
4040

4141
def test_day_of_week_function_with_count_from_zero_false
42-
omit("std::chrono not available on Windows MinGW") if Gem.win_platform?
4342
args = [
4443
# 2017-09-09T10:33:10Z (Saturday)
4544
Arrow::ArrayDatum.new(build_timestamp_array(:milli, [1504953190000])),
@@ -51,7 +50,6 @@ def test_day_of_week_function_with_count_from_zero_false
5150
end
5251

5352
def test_day_of_week_function_with_week_start
54-
omit("std::chrono not available on Windows MinGW") if Gem.win_platform?
5553
args = [
5654
# 2017-09-09T10:33:10Z (Saturday)
5755
Arrow::ArrayDatum.new(build_timestamp_array(:milli, [1504953190000])),

c_glib/test/test-strftime-options.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ def test_locale_property
3535
end
3636

3737
def test_strftime_function
38-
omit("std::chrono not available on Windows MinGW") if Gem.win_platform?
3938
args = [
4039
Arrow::ArrayDatum.new(build_timestamp_array(:milli, [1504953190854])),
4140
]

0 commit comments

Comments
 (0)