Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/test-gpu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "GPU testing with ec-gpu"

on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened
- ready_for_review

concurrency:
group: gpu-test-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: "Test ec-gpu"
runs-on: ['gpu']
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo registry
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Run tests on features 'parallel,cuda'
run: cargo test --features='parallel,cuda'
Loading