FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

add ccache installation step to cuda.yml (#4688) · pplab/abacus-develop@e84e962 · GitHub

Commit e84e962

Browse files
andauthored
add ccache installation step to cuda.yml (deepmodeling#4688)
Co-authored-by: Mohan Chen <mohan.chen.chen.mohan@gmail.com>
1 parent a13c22a commit e84e962

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎.github/workflows/cuda.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,28 @@ jobs:
1515
if: github.repository_owner == 'deepmodeling'
1616
container:
1717
image: ghcr.io/deepmodeling/abacus-cuda
18+
volumes:
19+
- /tmp/ccache:/github/home/.ccache
1820
options: --gpus all
21+
1922
steps:
2023
- name: Checkout
2124
uses: actions/checkout@v4
2225
with:
2326
submodules: recursive
27+
28+
- name: Install Ccache
29+
run: |
30+
sudo apt-get update
31+
sudo apt-get install -y ccache
32+
2433
- name: Build
2534
run: |
2635
nvidia-smi
2736
cmake -B build -DUSE_CUDA=ON -DBUILD_TESTING=ON
2837
cmake --build build -j4
2938
cmake --install build
39+
3040
- name: Test
3141
run: |
3242
cd tests/integrate

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL