File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : PSC CI CUDA (devcontainer)
2+
3+ on :
4+ push :
5+ branches : [ main, 'pr/*' ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ permissions :
10+ contents : read
11+ packages : write
12+
13+ jobs :
14+ build-cuda-devcontainer :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout (github)
19+ uses : actions/checkout@v4
20+
21+ - name : Login to GitHub Container Registry
22+ uses : docker/login-action@v2
23+ with :
24+ registry : ghcr.io
25+ username : ${{ github.repository_owner }}
26+ password : ${{ secrets.GITHUB_TOKEN }}
27+
28+ - name : Build CUDA configuration in devcontainer
29+ uses : devcontainers/ci@v0.3
30+ with :
31+ configFile : .devcontainer/devcontainer.json
32+ imageName : ghcr.io/psc-code/psc-devcontainer
33+ cacheFrom : ghcr.io/psc-code/psc-devcontainer
34+ push : never
35+ runCmd : |
36+ cmake -S . -B build-cuda-ci -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPSC_GPU=cuda -DGTENSOR_DEVICE=cuda -G Ninja
37+ cmake --build build-cuda-ci
You can’t perform that action at this time.
0 commit comments