Skip to content

Commit 265f1e2

Browse files
authored
[LTS] Skip precommit for CI and add missing hint (deepmodeling#7372)
* Skip precommit * Add missing hint of running "build_abacus_gcc-mkl.sh" * Add Git safe.directory for Docker-based self-hosted runner * Relax tolerance for 204_NO_KP_NC
1 parent 51f3c1c commit 265f1e2

3 files changed

Lines changed: 17 additions & 8 deletions

File tree

.github/workflows/test.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,19 @@ jobs:
3131
3232
- name: Configure
3333
run: |
34+
git config --global --add safe.directory /__w/abacus-develop/abacus-develop
3435
cmake -B build -DBUILD_TESTING=ON -DENABLE_DEEPKS=ON -DENABLE_LIBXC=ON -DENABLE_LIBRI=ON -DENABLE_PAW=ON -DENABLE_GOOGLEBENCH=ON -DENABLE_RAPIDJSON=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=1
3536
36-
- uses: pre-commit/action@v3.0.1
37-
with:
38-
extra_args:
39-
--from-ref ${{ github.event.pull_request.base.sha }}
40-
--to-ref ${{ github.event.pull_request.head.sha }}
41-
continue-on-error: true
42-
- uses: pre-commit-ci/lite-action@v1.0.3
37+
# Temporarily removed because no one maintains this now.
38+
# And it will break the CI test workflow.
39+
40+
# - uses: pre-commit/action@v3.0.1
41+
# with:
42+
# extra_args:
43+
# --from-ref ${{ github.event.pull_request.base.sha }}
44+
# --to-ref ${{ github.event.pull_request.head.sha }}
45+
# continue-on-error: true
46+
# - uses: pre-commit-ci/lite-action@v1.0.3
4347

4448
- name: Build
4549
run: |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
threshold 3e-7
2+
force_threshold 0.0001
3+
stress_threshold 0.001
4+
fatal_threshold 1

toolchain/install_abacus_toolchain_new.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ EOF
200200
ui_print_color "${UI_GREEN}${UI_BOLD}" "🚀 Build ABACUS with your preferred toolchain:"
201201
ui_print_color "${UI_WHITE}" " ./build_abacus_gnu.sh # GNU toolchain (GCC + OpenBLAS)"
202202
ui_print_color "${UI_WHITE}" " ./build_abacus_intel.sh # Intel toolchain (ICC + MKL)"
203+
ui_print_color "${UI_WHITE}" " ./build_abacus_gcc-mkl.sh # GCC + MKL"
203204
ui_print_color "${UI_WHITE}" " ./build_abacus_gcc-aocl.sh # AMD GCC + AOCL"
204205
ui_print_color "${UI_WHITE}" " ./build_abacus_aocc-aocl.sh # AMD AOCC + AOCL"
205206
echo ""
@@ -219,4 +220,4 @@ EOF
219220
}
220221

221222
# Run main function with all arguments
222-
main "$@"
223+
main "$@"

0 commit comments

Comments
 (0)