Skip to content

Commit 94f5988

Browse files
committed
remove unnecessary debug logs in task lifecycle methods and update macOS workflow with Xcode setup
1 parent 686006e commit 94f5988

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/mac.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@ on:
33

44
jobs:
55
macos-clang-build:
6-
runs-on: macOS-latest
6+
runs-on: macos-latest
77
steps:
88
- uses: actions/checkout@v4
99
with:
1010
submodules: recursive
11+
- name: Install Xcode
12+
uses: maxim-lobanov/setup-xcode@v1
13+
with:
14+
xcode-version: 'latest'
1115
- name: Setup environment
1216
run: |
1317
brew update-reset

modules/core/task/include/task.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,13 @@ class Task {
108108
/// @brief Validates input data and task attributes before execution.
109109
/// @return True if validation is successful.
110110
virtual bool Validation() final {
111-
std::cout << ppc::util::FuncName() << '\n';
112111
InternalOrderTest(ppc::util::FuncName());
113112
return ValidationImpl();
114113
}
115114

116115
/// @brief Performs preprocessing on the input data.
117116
/// @return True if preprocessing is successful.
118117
virtual bool PreProcessing() final {
119-
std::cout << ppc::util::FuncName() << '\n';
120118
InternalOrderTest(ppc::util::FuncName());
121119
if (state_of_testing_ == StateOfTesting::kFunc) {
122120
InternalTimeTest(ppc::util::FuncName());
@@ -127,15 +125,13 @@ class Task {
127125
/// @brief Executes the main logic of the task.
128126
/// @return True if execution is successful.
129127
virtual bool Run() final {
130-
std::cout << ppc::util::FuncName() << '\n';
131128
InternalOrderTest(ppc::util::FuncName());
132129
return RunImpl();
133130
}
134131

135132
/// @brief Performs postprocessing on the output data.
136133
/// @return True if postprocessing is successful.
137134
virtual bool PostProcessing() final {
138-
std::cout << ppc::util::FuncName() << '\n';
139135
InternalOrderTest(ppc::util::FuncName());
140136
if (state_of_testing_ == StateOfTesting::kFunc) {
141137
InternalTimeTest(ppc::util::FuncName());

0 commit comments

Comments
 (0)