Skip to content

Commit 5c6fec6

Browse files
committed
Only runs abseil internal mode on windows
1 parent fe6bcb5 commit 5c6fec6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/cmake.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ jobs:
2424
include:
2525
- os: windows-latest
2626
arch: Win32
27+
absl_provider: internal
2728
- os: windows-latest
2829
arch: x64
30+
absl_provider: internal
2931
- os: windows-11-arm
3032
arch: ARM64
33+
absl_provider: internal
3134

3235
runs-on: ${{ matrix.os }}
3336

@@ -48,7 +51,7 @@ jobs:
4851
CMAKE_OSX_ARCHITECTURES: arm64;x86_64
4952

5053
- name: Build
51-
run: cmake --build build --config Release --target install --parallel 8
54+
run: cmake --build build --config Release --target install --parallel 32
5255

5356
- name: Test
5457
working-directory: build

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ elseif (SPM_ABSL_PROVIDER STREQUAL "module")
176176
FetchContent_Populate(abseil-cpp
177177
GIT_REPOSITORY https://github.com/abseil/abseil-cpp.git
178178
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/abseil-cpp
179-
GIT_PROGRESS TRUE)
179+
GIT_PROGRESS TRUE
180+
GIT_TAG 20250814.1)
180181
add_subdirectory(third_party/abseil-cpp)
181182
if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/absl.org)
182183
file(RENAME ${CMAKE_CURRENT_SOURCE_DIR}/third_party/absl ${CMAKE_CURRENT_SOURCE_DIR}/third_party/absl.org)

0 commit comments

Comments
 (0)