Skip to content

Commit

Permalink
xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 10, 2024
1 parent 6fe0ff0 commit 6756029
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,15 @@ jobs:
strategy:
fail-fast: false
matrix:
os:
- windows-2019
include:
- os: windows-2019
- compiler: msvc
os: windows-2019
simd-level: AVX2
title: AMD64 Windows 2019 C++17 AVX2
title: AMD64 Windows 2019 C++ MSVC AVX2
- compiler: clang-cl
os: windows-2019
simd-level: AVX2
title: AMD64 Windows 2019 C++ clang-cl AVX2
env:
ARROW_BOOST_USE_SHARED: OFF
ARROW_BUILD_BENCHMARKS: ON
Expand Down Expand Up @@ -354,15 +357,18 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ steps.ccache-info.outputs.cache-dir }}
key: cpp-ccache-windows-${{ env.CACHE_VERSION }}-${{ hashFiles('cpp/**') }}
restore-keys: cpp-ccache-windows-${{ env.CACHE_VERSION }}-
key: cpp-ccache-windows-${{ matrix.compiler }}-${{ env.CACHE_VERSION }}-${{ hashFiles('cpp/**') }}
restore-keys: cpp-ccache-windows-${{ matrix.compiler }}-${{ env.CACHE_VERSION }}-
env:
# We can invalidate the current cache by updating this.
CACHE_VERSION: "2022-09-13"
- name: Build
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
if ${{ matrix.compiler }}==clang-cl (
set ARROW_CMAKE_ARGS=-DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl
)
bash -c "ci/scripts/cpp_build.sh $(pwd) $(pwd)/build"
- name: Test
shell: bash
Expand Down

0 comments on commit 6756029

Please sign in to comment.