Skip to content

Commit 4289ae3

Browse files
committed
Add GPU test workflow
1 parent 3b5d13e commit 4289ae3

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/test-gpu.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Test GPU
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
test_gpu:
8+
runs-on: [ self-hosted, slurm, gpu ]
9+
steps:
10+
- uses: actions/checkout@v3
11+
with:
12+
submodules: true
13+
- name: Test GPU
14+
run: |
15+
source /home/cirunner/miniforge3/etc/profile.d/conda.sh
16+
conda activate nvcc
17+
mkdir build && cd build
18+
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CUDA=1 -DCMAKE_CUDA_ARCHITECTURES="native" ..
19+
make -j$(nproc --all)
20+
- name: Regression
21+
run: |
22+
./util/regression/run_regression.sh ./build/src/mmseqs SCRATCH

0 commit comments

Comments
 (0)