-
Notifications
You must be signed in to change notification settings - Fork 103
Add initial CI workflow #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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>
- Add host GPU hardware detection with lspci and nvidia-smi - Add container GPU access test with --gpus all flag - Enable workflow triggers on cd/initial-ci branch for testing - Will show RTX Pro 6000 GPU information when running on GPU runners Signed-off-by: cdunning <cdunning@nvidia.com>
- Change runs-on from ubuntu-latest to linux-amd64-gpu-rtxpro6000-latest-1 - Re-enable branch trigger for cd/initial-ci to test GPU runner - Should now run on the correct GPU-enabled self-hosted runner Signed-off-by: cdunning <cdunning@nvidia.com>
Signed-off-by: cdunning <cdunning@nvidia.com>
01debba to
d6204d0
Compare
- Consolidate 5 separate jobs into single matrix job - Add conditional logic for GPU vs CPU testing - Support both Linux and Windows platforms - Enable/disable configurations via matrix.enabled flag - Reduce code duplication by 90% Signed-off-by: cdunning <cdunning@nvidia.com>
- Remove matrix.enabled condition (not available at job level) - Split platform-specific steps with proper conditionals - Separate GPU vs CPU testing steps - Simplify matrix to only active configurations Signed-off-by: cdunning <cdunning@nvidia.com>
- Remove shell condition from Test Docker step - All steps now use default bash shell for Linux-only matrix Signed-off-by: cdunning <cdunning@nvidia.com>
- Add GPU Windows x86_64 configuration - Add CPU Windows x86_64 configuration - Split CUDA image tests by OS (Linux vs Windows) - Use PowerShell for Windows steps - Now testing all 4 combinations: Linux/Windows × GPU/CPU Signed-off-by: cdunning <cdunning@nvidia.com>
- GPU jobs: Use RTX Pro 6000 self-hosted runners - CPU jobs: Use free GitHub runners (ubuntu-latest, windows-latest, ubuntu-24.04-arm64) - Remove macOS configurations - Optimize runner costs per NVIDIA best practices Signed-off-by: cdunning <cdunning@nvidia.com>
- Use cmd shell instead of pwsh (not available) - Remove Linux CUDA container tests on Windows - Add simple Windows-native GPU/CPU tests - Fix Windows batch syntax Signed-off-by: cdunning <cdunning@nvidia.com>
- Add fallback GPU detection via wmic - Handle nvidia-smi not being available on Windows runners - Don't fail job if nvidia-smi missing Signed-off-by: cdunning <cdunning@nvidia.com>
- Remove Windows GPU runner (no NVIDIA drivers installed) - Remove ARM64 runner (not available on GitHub) - Keep working configurations: GPU Linux + CPU Linux/Windows Signed-off-by: cdunning <cdunning@nvidia.com>
- Use ubuntu-24.04-arm for Linux ARM64 builds - Add architecture detection for ARM64 - Now supports x64 and ARM64 Linux builds Signed-off-by: cdunning <cdunning@nvidia.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add basic GitHub Actions CI workflow to test runner infrastructure.