Skip to content

fix secret name

fix secret name #5

# Example using self-hosted GPU runner
# For teams with their own GPU machines running GitHub Actions runner
name: GPU Tests (Self-Hosted)
on:
push:
branches: [main]
pull_request:
jobs:
gpu-test:
# Use self-hosted runner with GPU
runs-on: [self-hosted, gpu, cuda]
name: Test on Local GPU
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install gpuci
run: pip install gpuci
- name: Check GPU
run: nvidia-smi
- name: Run local GPU test
run: |
# For self-hosted runner, can test directly without SSH
# Compile and run kernel locally
nvcc -O3 -o test_kernel kernels/matmul.cu
./test_kernel
# Or use gpuci with local target
- name: Run gpuci (SSH to other machines)
run: gpuci test kernels/*.cu --config gpuci.yml
env:
# SSH key can be pre-installed on self-hosted runner
SSH_AUTH_SOCK: ${{ env.SSH_AUTH_SOCK }}