Skip to content

Commit 1740d8d

Browse files
committed
fix: increase windows timeout
Skip tests on release Signed-off-by: Gordon Smith <[email protected]>
1 parent 65aeb57 commit 1740d8d

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,6 @@ jobs:
116116
run: |
117117
cmake --build --preset ${{ matrix.build-preset }}
118118
119-
- name: Run Tests
120-
working-directory: build
121-
run: |
122-
ctest ${{ matrix.cpack-config || '' }} -VV
123-
124119
- name: Create Packages
125120
working-directory: build
126121
run: |

test/StubGenerationTests.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ add_custom_target(validate-test-stubs-incremental
260260
# Configure build flags for the nested build (used by validate-root-cmake and validate-root-cmake-build)
261261
# In CI environments, use Debug build with no optimizations to reduce memory overhead
262262
if(DEFINED ENV{CI})
263-
set(CI_CMAKE_FLAGS "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_CXX_FLAGS_DEBUG=-g -O0")
263+
set(CI_CMAKE_FLAGS "-DCMAKE_BUILD_TYPE=Debug")
264264
set(CI_BUILD_MESSAGE "Debug build (no optimizations) for CI")
265265
else()
266266
set(CI_CMAKE_FLAGS "")
@@ -324,7 +324,7 @@ add_test(
324324

325325
set_tests_properties(wit-stub-generation-test PROPERTIES
326326
LABELS "codegen;stubs"
327-
TIMEOUT 1800 # 30 minutes - GitHub Actions needs more time than local builds
327+
TIMEOUT 3600 # 60 minutes - GitHub Actions needs more time than local builds
328328
)
329329

330330
# ===== Target: clean-test-stubs =====

0 commit comments

Comments
 (0)