Skip to content

Commit caa47a5

Browse files
committed
TEMP - disable Windows CI to reduce work load
1 parent f6c157b commit caa47a5

File tree

1 file changed

+119
-118
lines changed

1 file changed

+119
-118
lines changed

.github/workflows/cpp.yml

Lines changed: 119 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -282,122 +282,123 @@ jobs:
282282
# ulimit -c unlimited # must enable within the same shell
283283
# ci/scripts/cpp_test.sh $(pwd) $(pwd)/build
284284

285-
windows:
286-
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
287-
name: AMD64 Windows 2022 AVX2 C++
288-
uses: ./.github/workflows/cpp_windows.yml
289-
with:
290-
arch: x64
291-
os: windows-2022
292-
simd-level: AVX2
285+
# -AL- disable Windows CI
286+
# windows:
287+
# if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
288+
# name: AMD64 Windows 2022 AVX2 C++
289+
# uses: ./.github/workflows/cpp_windows.yml
290+
# with:
291+
# arch: x64
292+
# os: windows-2022
293+
# simd-level: AVX2
293294

294-
windows-mingw:
295-
name: AMD64 Windows MinGW ${{ matrix.msystem_upper }} C++
296-
runs-on: windows-2022
297-
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
298-
# Build may take 1h+ without cache.
299-
timeout-minutes: 120
300-
strategy:
301-
fail-fast: false
302-
matrix:
303-
include:
304-
- msystem_lower: mingw64
305-
msystem_upper: MINGW64
306-
- msystem_lower: clang64
307-
msystem_upper: CLANG64
308-
env:
309-
ARROW_BUILD_SHARED: ON
310-
ARROW_BUILD_STATIC: OFF
311-
ARROW_BUILD_TESTS: ON
312-
ARROW_BUILD_TYPE: release
313-
ARROW_DATASET: ON
314-
ARROW_FLIGHT: ON
315-
ARROW_FLIGHT_SQL: ON
316-
ARROW_FLIGHT_SQL_ODBC: ON
317-
ARROW_FLIGHT_SQL_ODBC_INSTALLER: ON
318-
ARROW_GANDIVA: ON
319-
ARROW_GCS: ON
320-
ARROW_HDFS: OFF
321-
ARROW_HOME: /${{ matrix.msystem_lower}}
322-
ARROW_JEMALLOC: OFF
323-
ARROW_PARQUET: ON
324-
ARROW_S3: ON
325-
ARROW_SUBSTRAIT: ON
326-
ARROW_USE_GLOG: OFF
327-
ARROW_VERBOSE_THIRDPARTY_BUILD: OFF
328-
ARROW_WITH_BROTLI: ON
329-
ARROW_WITH_BZ2: ON
330-
ARROW_WITH_LZ4: ON
331-
ARROW_WITH_OPENTELEMETRY: OFF
332-
ARROW_WITH_SNAPPY: ON
333-
ARROW_WITH_ZLIB: ON
334-
ARROW_WITH_ZSTD: ON
335-
ARROW_CMAKE_ARGS: >-
336-
-DARROW_PACKAGE_PREFIX=/${{ matrix.msystem_lower}}
337-
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON
338-
# We can't use unity build because we don't have enough memory on
339-
# GitHub Actions.
340-
# CMAKE_UNITY_BUILD: ON
341-
steps:
342-
- name: Disable Crash Dialogs
343-
run: |
344-
reg add `
345-
"HKCU\SOFTWARE\Microsoft\Windows\Windows Error Reporting" `
346-
/v DontShowUI `
347-
/t REG_DWORD `
348-
/d 1 `
349-
/f
350-
- name: Checkout Arrow
351-
uses: actions/checkout@v5
352-
with:
353-
fetch-depth: 0
354-
submodules: recursive
355-
- uses: msys2/setup-msys2@v2
356-
with:
357-
msystem: ${{ matrix.msystem_upper }}
358-
update: true
359-
- name: Setup MSYS2
360-
shell: msys2 {0}
361-
run: ci/scripts/msys2_setup.sh cpp
362-
- name: Cache ccache
363-
uses: actions/cache@v4
364-
with:
365-
path: ccache
366-
key: cpp-ccache-${{ matrix.msystem_lower}}-${{ hashFiles('cpp/**') }}
367-
restore-keys: cpp-ccache-${{ matrix.msystem_lower}}-
368-
- name: Build
369-
shell: msys2 {0}
370-
run: |
371-
export CMAKE_BUILD_PARALLEL_LEVEL=$NUMBER_OF_PROCESSORS
372-
ci/scripts/cpp_build.sh "$(pwd)" "$(pwd)/build"
373-
- name: Download Timezone Database
374-
shell: bash
375-
run: ci/scripts/download_tz_database.sh
376-
- name: Download MinIO
377-
shell: msys2 {0}
378-
run: |
379-
mkdir -p /usr/local/bin
380-
wget \
381-
--output-document /usr/local/bin/minio.exe \
382-
https://dl.min.io/server/minio/release/windows-amd64/archive/minio.RELEASE.2024-09-13T20-26-02Z
383-
chmod +x /usr/local/bin/minio.exe
384-
- name: Set up Python
385-
uses: actions/[email protected]
386-
id: python-install
387-
with:
388-
python-version: '3.12'
389-
- name: Install Google Cloud Storage Testbench
390-
shell: msys2 {0}
391-
env:
392-
PIPX_BIN_DIR: /usr/local/bin
393-
PIPX_BASE_PYTHON: ${{ steps.python-install.outputs.python-path }}
394-
run: |
395-
ci/scripts/install_gcs_testbench.sh default
396-
- name: Register Flight SQL ODBC Driver
397-
shell: cmd
398-
run: |
399-
call "cpp\src\arrow\flight\sql\odbc\tests\install_odbc.cmd" ${{ github.workspace }}\build\cpp\%ARROW_BUILD_TYPE%\libarrow_flight_sql_odbc.dll
400-
- name: Test
401-
shell: msys2 {0}
402-
run: |
403-
ci/scripts/cpp_test.sh "$(pwd)" "$(pwd)/build"
295+
# windows-mingw:
296+
# name: AMD64 Windows MinGW ${{ matrix.msystem_upper }} C++
297+
# runs-on: windows-2022
298+
# if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
299+
# # Build may take 1h+ without cache.
300+
# timeout-minutes: 120
301+
# strategy:
302+
# fail-fast: false
303+
# matrix:
304+
# include:
305+
# - msystem_lower: mingw64
306+
# msystem_upper: MINGW64
307+
# - msystem_lower: clang64
308+
# msystem_upper: CLANG64
309+
# env:
310+
# ARROW_BUILD_SHARED: ON
311+
# ARROW_BUILD_STATIC: OFF
312+
# ARROW_BUILD_TESTS: ON
313+
# ARROW_BUILD_TYPE: release
314+
# ARROW_DATASET: ON
315+
# ARROW_FLIGHT: ON
316+
# ARROW_FLIGHT_SQL: ON
317+
# ARROW_FLIGHT_SQL_ODBC: ON
318+
# ARROW_FLIGHT_SQL_ODBC_INSTALLER: ON
319+
# ARROW_GANDIVA: ON
320+
# ARROW_GCS: ON
321+
# ARROW_HDFS: OFF
322+
# ARROW_HOME: /${{ matrix.msystem_lower}}
323+
# ARROW_JEMALLOC: OFF
324+
# ARROW_PARQUET: ON
325+
# ARROW_S3: ON
326+
# ARROW_SUBSTRAIT: ON
327+
# ARROW_USE_GLOG: OFF
328+
# ARROW_VERBOSE_THIRDPARTY_BUILD: OFF
329+
# ARROW_WITH_BROTLI: ON
330+
# ARROW_WITH_BZ2: ON
331+
# ARROW_WITH_LZ4: ON
332+
# ARROW_WITH_OPENTELEMETRY: OFF
333+
# ARROW_WITH_SNAPPY: ON
334+
# ARROW_WITH_ZLIB: ON
335+
# ARROW_WITH_ZSTD: ON
336+
# ARROW_CMAKE_ARGS: >-
337+
# -DARROW_PACKAGE_PREFIX=/${{ matrix.msystem_lower}}
338+
# -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON
339+
# # We can't use unity build because we don't have enough memory on
340+
# # GitHub Actions.
341+
# # CMAKE_UNITY_BUILD: ON
342+
# steps:
343+
# - name: Disable Crash Dialogs
344+
# run: |
345+
# reg add `
346+
# "HKCU\SOFTWARE\Microsoft\Windows\Windows Error Reporting" `
347+
# /v DontShowUI `
348+
# /t REG_DWORD `
349+
# /d 1 `
350+
# /f
351+
# - name: Checkout Arrow
352+
# uses: actions/checkout@v5
353+
# with:
354+
# fetch-depth: 0
355+
# submodules: recursive
356+
# - uses: msys2/setup-msys2@v2
357+
# with:
358+
# msystem: ${{ matrix.msystem_upper }}
359+
# update: true
360+
# - name: Setup MSYS2
361+
# shell: msys2 {0}
362+
# run: ci/scripts/msys2_setup.sh cpp
363+
# - name: Cache ccache
364+
# uses: actions/cache@v4
365+
# with:
366+
# path: ccache
367+
# key: cpp-ccache-${{ matrix.msystem_lower}}-${{ hashFiles('cpp/**') }}
368+
# restore-keys: cpp-ccache-${{ matrix.msystem_lower}}-
369+
# - name: Build
370+
# shell: msys2 {0}
371+
# run: |
372+
# export CMAKE_BUILD_PARALLEL_LEVEL=$NUMBER_OF_PROCESSORS
373+
# ci/scripts/cpp_build.sh "$(pwd)" "$(pwd)/build"
374+
# - name: Download Timezone Database
375+
# shell: bash
376+
# run: ci/scripts/download_tz_database.sh
377+
# - name: Download MinIO
378+
# shell: msys2 {0}
379+
# run: |
380+
# mkdir -p /usr/local/bin
381+
# wget \
382+
# --output-document /usr/local/bin/minio.exe \
383+
# https://dl.min.io/server/minio/release/windows-amd64/archive/minio.RELEASE.2024-09-13T20-26-02Z
384+
# chmod +x /usr/local/bin/minio.exe
385+
# - name: Set up Python
386+
# uses: actions/[email protected]
387+
# id: python-install
388+
# with:
389+
# python-version: '3.12'
390+
# - name: Install Google Cloud Storage Testbench
391+
# shell: msys2 {0}
392+
# env:
393+
# PIPX_BIN_DIR: /usr/local/bin
394+
# PIPX_BASE_PYTHON: ${{ steps.python-install.outputs.python-path }}
395+
# run: |
396+
# ci/scripts/install_gcs_testbench.sh default
397+
# - name: Register Flight SQL ODBC Driver
398+
# shell: cmd
399+
# run: |
400+
# call "cpp\src\arrow\flight\sql\odbc\tests\install_odbc.cmd" ${{ github.workspace }}\build\cpp\%ARROW_BUILD_TYPE%\libarrow_flight_sql_odbc.dll
401+
# - name: Test
402+
# shell: msys2 {0}
403+
# run: |
404+
# ci/scripts/cpp_test.sh "$(pwd)" "$(pwd)/build"

0 commit comments

Comments
 (0)