Skip to content

Commit b5d1ee2

Browse files
committed
Test precommit CI
1 parent 3093657 commit b5d1ee2

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/workflows/compute-projects-to-test/compute-projects-to-test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,11 @@ echo "modified_projects: $modified_projects"
207207
if [ "${RUNNER_OS}" = "Linux" ]; then
208208
projects_to_test=$(exclude-linux $(compute-projects-to-test ${modified_projects}))
209209
elif [ "${RUNNER_OS}" = "Windows" ]; then
210-
projects_to_test=$(exclude-windows $(compute-projects-to-test ${modified_projects}))
210+
# Don't run dependent projects on Windows for now.
211+
projects_to_test=$(exclude-windows ${modified_projects})
211212
else
212213
echo "Unknown runner OS: $RUNNER_OS"
214+
exit 1
213215
fi
214216
check_targets=$(check-targets $(remove-unwanted-projects ${projects_to_test}) | sort | uniq)
215217
projects=$(remove-unwanted-projects $(add-dependencies ${projects_to_test}) | sort | uniq)

.github/workflows/precommit-windows.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ jobs:
3636
- name: Compute projects to test
3737
id: compute-projects
3838
uses: ./.github/workflows/compute-projects-to-test
39-
with:
40-
projects: clang llvm lld
4139

4240
- name: Configure LLVM
4341
shell: bash

llvm/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,3 +1379,5 @@ endif()
13791379
if (LLVM_INCLUDE_UTILS AND LLVM_INCLUDE_TOOLS)
13801380
add_subdirectory(utils/llvm-locstats)
13811381
endif()
1382+
1383+
#foo

mlir/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,3 +285,4 @@ endif()
285285
if(MLIR_STANDALONE_BUILD)
286286
llvm_distribution_add_targets()
287287
endif()
288+
#foo

0 commit comments

Comments
 (0)