Skip to content

Commit 5b6e950

Browse files
committed
Add initial GitHub Actions CI workflow
- Simple CI workflow for testing runner infrastructure - Tests Docker functionality and NVIDIA CUDA image access - Uses CUDA 13.0.2 base image with Ubuntu 24.04 - Supports manual dispatch and runs on push/PR to main Signed-off-by: cdunning <cdunning@nvidia.com>
1 parent 1da13de commit 5b6e950

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
test:
12+
name: Test Environment
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Test Docker
20+
run: |
21+
docker --version
22+
docker run --rm hello-world
23+
24+
- name: Test CUDA Image
25+
run: |
26+
docker pull nvidia/cuda:13.0.2-base-ubuntu24.04
27+
docker run --rm nvidia/cuda:13.0.2-base-ubuntu24.04 bash -c "
28+
echo 'CUDA container test successful'
29+
cat /etc/os-release
30+
which nvcc || echo 'nvcc not in PATH'
31+
"

0 commit comments

Comments
 (0)