Skip to content

Commit 341df15

Browse files
committed
CI: Make sure the coding convention is checked
The .ci/check-format script does not return error when the clang-format-6.0 is not installed. Currently, the commit makes sure the required software is installed. The fixing of the script will be done in the future.
1 parent 10d3606 commit 341df15

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/github_actions.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,7 @@ jobs:
5252
- name: checkout code
5353
uses: actions/checkout@v2
5454
- name: coding convention
55-
run: sh .ci/check-format.sh
55+
run: |
56+
sudo apt-get install -y clang-format-6.0
57+
sh .ci/check-format.sh
5658
shell: bash

tests/impl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2868,7 +2868,7 @@ result_t test_mm_cmpeq_pd(const SSE2NEONTestImpl &impl, uint32_t i)
28682868
__m128d a = do_mm_load_pd(_a);
28692869
__m128d b = do_mm_load_pd(_b);
28702870
__m128d c = _mm_cmpeq_pd(a, b);
2871-
return validateDouble(c, *(double*) &d0, *(double*) &d1);
2871+
return validateDouble(c, *(double *) &d0, *(double *) &d1);
28722872
}
28732873

28742874
result_t test_mm_cmpgt_epi16(const SSE2NEONTestImpl &impl, uint32_t i)

0 commit comments

Comments
 (0)