Skip to content

Commit 960ec64

Browse files
committed
修正错误的 cmake 指令,删除 clang-format 检查
1 parent 91b1eaa commit 960ec64

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/build_and_test.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,14 @@ jobs:
1313
- uses: actions/checkout@v4
1414

1515
- name: Setup deps
16-
run: sudo apt upgrade && sudo apt install build-essential cmake xmake clang-format
17-
18-
- name: clang-format check
19-
run: clang-format --dry-run $(git ls-files '*.c' '*.cpp' '*.h' '*.hpp')
16+
run: sudo apt upgrade && sudo apt install build-essential cmake xmake
2017

2118
- name: CMake config
22-
run: mkdir build && cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DEMDEVIF_TEST_FRAMEWORK_ENABLE_TEST=ON -DEMDEVIF_TEST_FRAMEWORK_TEST_NAME="integration_test" --verbose
19+
run: mkdir build && cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DEMDEVIF_TEST_FRAMEWORK_ENABLE_TEST=ON -DEMDEVIF_TEST_FRAMEWORK_TEST_NAME="integration_test" --debug-output
2320
- name: CMake build
2421
run: cmake --build build --verbose
2522
- name: ctest
26-
run: cd build && ctest .
23+
run: cd build && ctest . --verbose
2724

2825
- name: clean
2926
run: rm -r build

0 commit comments

Comments
 (0)