Skip to content

CI: add pre-commit.ci to apply clang-format and clang-tidy fixes #689

CI: add pre-commit.ci to apply clang-format and clang-tidy fixes

CI: add pre-commit.ci to apply clang-format and clang-tidy fixes #689

Workflow file for this run

name: CUDA Test
on:
workflow_dispatch:
pull_request:
jobs:
test:
name: Test on CUDA Build
runs-on: nvidia
container:
image: ghcr.io/deepmodeling/abacus-cuda
options: --gpus all
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build
run: |
nvidia-smi
cmake -B build -DUSE_CUDA=ON -DBUILD_TESTING=ON
cmake --build build -j4
cmake --install build
- name: Test
run: |
cd tests/integrate
bash Autotest.sh -n 2 -f CASES_GPU.txt