| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a13c22a commit e84e962
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,18 +15,28 @@ jobs: | |||
| 15 | 15 | if: github.repository_owner == 'deepmodeling' | |
| 16 | 16 | container: | |
| 17 | 17 | image: ghcr.io/deepmodeling/abacus-cuda | |
| 18 | + volumes: | ||
| 19 | + - /tmp/ccache:/github/home/.ccache | ||
| 18 | 20 | options: --gpus all | |
| 21 | + | ||
| 19 | 22 | steps: | |
| 20 | 23 | - name: Checkout | |
| 21 | 24 | uses: actions/checkout@v4 | |
| 22 | 25 | with: | |
| 23 | 26 | submodules: recursive | |
| 27 | + | ||
| 28 | + - name: Install Ccache | ||
| 29 | + run: | | ||
| 30 | + sudo apt-get update | ||
| 31 | + sudo apt-get install -y ccache | ||
| 32 | + | ||
| 24 | 33 | - name: Build | |
| 25 | 34 | run: | | |
| 26 | 35 | nvidia-smi | |
| 27 | 36 | cmake -B build -DUSE_CUDA=ON -DBUILD_TESTING=ON | |
| 28 | 37 | cmake --build build -j4 | |
| 29 | 38 | cmake --install build | |
| 39 | + | ||
| 30 | 40 | - name: Test | |
| 31 | 41 | run: | | |
| 32 | 42 | cd tests/integrate | |
| Back | FazBrowse Home | New Git URL |
0 commit comments