Skip to content

Commit 4b3fb9e

Browse files
committed
WIP: Try to repro intermittent test failures on linux
Helper commit for #8627
1 parent b42c345 commit 4b3fb9e

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
# macOS builds
8181
build-macos-debug-clang-aarch64:
8282
needs: [filter]
83-
if: needs.filter.outputs.should-run == 'true'
83+
if: false # Temporarily disabled for Linux parallelism testing
8484
uses: ./.github/workflows/ci-slang-build.yml
8585
with:
8686
os: macos
@@ -91,7 +91,7 @@ jobs:
9191

9292
build-macos-release-clang-aarch64:
9393
needs: [filter]
94-
if: needs.filter.outputs.should-run == 'true'
94+
if: false # Temporarily disabled for Linux parallelism testing
9595
uses: ./.github/workflows/ci-slang-build.yml
9696
with:
9797
os: macos
@@ -103,7 +103,7 @@ jobs:
103103
# Windows builds (self-hosted)
104104
build-windows-debug-cl-x86_64-gpu:
105105
needs: [filter]
106-
if: needs.filter.outputs.should-run == 'true'
106+
if: false # Temporarily disabled for Linux parallelism testing
107107
uses: ./.github/workflows/ci-slang-build.yml
108108
with:
109109
os: windows
@@ -114,7 +114,7 @@ jobs:
114114

115115
build-windows-release-cl-x86_64-gpu:
116116
needs: [filter]
117-
if: needs.filter.outputs.should-run == 'true'
117+
if: false # Temporarily disabled for Linux parallelism testing
118118
uses: ./.github/workflows/ci-slang-build.yml
119119
with:
120120
os: windows
@@ -127,6 +127,10 @@ jobs:
127127
test-linux-debug-gcc-x86_64:
128128
needs: [filter, build-linux-debug-gcc-x86_64]
129129
if: needs.filter.outputs.should-run == 'true'
130+
strategy:
131+
fail-fast: false
132+
matrix:
133+
iteration: [1, 2, 3, 4, 5] # Run 5 times to catch intermittent failures
130134
uses: ./.github/workflows/ci-slang-test.yml
131135
with:
132136
os: linux
@@ -135,11 +139,15 @@ jobs:
135139
config: debug
136140
runs-on: '["ubuntu-22.04"]'
137141
test-category: smoke
138-
server-count: 1
142+
server-count: 8
139143

140144
test-linux-release-gcc-x86_64:
141145
needs: [filter, build-linux-release-gcc-x86_64]
142146
if: needs.filter.outputs.should-run == 'true'
147+
strategy:
148+
fail-fast: false
149+
matrix:
150+
iteration: [1, 2, 3, 4, 5] # Run 5 times to catch intermittent failures
143151
uses: ./.github/workflows/ci-slang-test.yml
144152
with:
145153
os: linux
@@ -148,12 +156,12 @@ jobs:
148156
config: release
149157
runs-on: '["ubuntu-22.04"]'
150158
test-category: full
151-
server-count: 1
159+
server-count: 8
152160

153161
# macOS tests
154162
test-macos-debug-clang-aarch64:
155163
needs: [filter, build-macos-debug-clang-aarch64]
156-
if: needs.filter.outputs.should-run == 'true'
164+
if: false # Temporarily disabled for Linux parallelism testing
157165
uses: ./.github/workflows/ci-slang-test.yml
158166
with:
159167
os: macos
@@ -166,7 +174,7 @@ jobs:
166174

167175
test-macos-release-clang-aarch64:
168176
needs: [filter, build-macos-release-clang-aarch64]
169-
if: needs.filter.outputs.should-run == 'true'
177+
if: false # Temporarily disabled for Linux parallelism testing
170178
uses: ./.github/workflows/ci-slang-test.yml
171179
with:
172180
os: macos
@@ -181,7 +189,7 @@ jobs:
181189
# Windows GPU tests (self-hosted)
182190
test-windows-debug-cl-x86_64-gpu:
183191
needs: [filter, build-windows-debug-cl-x86_64-gpu]
184-
if: needs.filter.outputs.should-run == 'true'
192+
if: false # Temporarily disabled for Linux parallelism testing
185193
uses: ./.github/workflows/ci-slang-test.yml
186194
with:
187195
os: windows
@@ -194,7 +202,7 @@ jobs:
194202

195203
test-windows-release-cl-x86_64-gpu:
196204
needs: [filter, build-windows-release-cl-x86_64-gpu]
197-
if: needs.filter.outputs.should-run == 'true'
205+
if: false # Temporarily disabled for Linux parallelism testing
198206
uses: ./.github/workflows/ci-slang-test.yml
199207
with:
200208
os: windows

0 commit comments

Comments
 (0)