Skip to content

Commit ba3906e

Browse files
committed
add revert list
1 parent 1726bb5 commit ba3906e

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ jobs:
6565
env:
6666
CC: gcc-14
6767
CXX: g++-14
68+
- name: Archive revert list
69+
uses: actions/[email protected]
70+
with:
71+
name: revert-list
72+
path: build/revert-list.txt
6873
- name: Build project
6974
run: |
7075
cmake --build build --parallel

tasks/CMakeLists.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ foreach(TASK_TYPE ${LIST_OF_TASKS})
5050
SUBDIRLIST(subdirs ${PATH_TO_TASK})
5151
foreach(subd ${subdirs})
5252
if ("${subd}" MATCHES "_disabled$")
53-
message(WARNING " -- SKIPPED func and perf tests for ${PATH_TO_TASK}/${subd}")
53+
get_filename_component(DIR_NAME ${PATH_TO_TASK} NAME)
54+
list(APPEND LIST_OF_REVERTS "${DIR_NAME}_${subd}")
5455
continue()
5556
endif()
5657
get_filename_component(PROJECT_ID ${subd} NAME)
@@ -176,3 +177,11 @@ foreach(TASK_TYPE ${LIST_OF_TASKS})
176177
set(FUNC_TESTS_SOURCE_FILES "")
177178
set(PERF_TESTS_SOURCE_FILES "")
178179
endforeach()
180+
181+
set(OUTPUT_FILE "${CMAKE_BINARY_DIR}/revert-list.txt")
182+
file(WRITE ${OUTPUT_FILE} "${CONTENT}")
183+
message(STATUS "revert list")
184+
foreach (dir_name ${LIST_OF_REVERTS})
185+
message(STATUS "-- ${dir_name}")
186+
file(APPEND ${OUTPUT_FILE} "${dir_name}\n")
187+
endforeach()

0 commit comments

Comments
 (0)