Skip to content

Commit

Permalink
Add GPU CI
Browse files Browse the repository at this point in the history
Signed-off-by: zethson <lukas.heumos@posteo.net>
  • Loading branch information
Zethson committed Jul 21, 2023
1 parent 3b45954 commit d9a4f6c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .cirun.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
runners:
- name: aws-gpu-runner
cloud: aws
instance_type: g4dn.xlarge
machine_image: ami-0678adbdcb4c3a662
preemptible: false
workflow: .github/workflows/build_gpu.yml
labels:
- aws-gpu
26 changes: 26 additions & 0 deletions .github/workflows/build_gpu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: AWS GPU

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:

runs-on: [self-hosted, aws-gpu] # aws-gpu == label in cirun.yml
steps:
- uses: actions/checkout@v2

- name: Get Hostname
run: |
hostname
- name: Get system Information
run: |
uname -a
- name: Get Architecture
run: |
dpkg --print-architecture
- name: Nvidia SMI
run: nvidia-smi

0 comments on commit d9a4f6c

Please sign in to comment.