Skip to content
Open
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
27 changes: 27 additions & 0 deletions .github/workflows/test-amd-gpu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run tests on AMD GPUs

on: pull_request

jobs:
amd-gpu-tests:
strategy:
matrix:
runner:
- cern-nextgen-w7900
- cern-nextgen-mi300x
runs-on: ${{ matrix.runner }}
container: registry.cern.ch/ngt/lxplus-like:9

steps:
- uses: actions/checkout@v4

- name: Compile and run HIP tests
working-directory: ${{ github.workspace }}/tests
run: |
cmake -B build/debug -DCMAKE_BUILD_TYPE=Debug
cmake --build build/debug --parallel
ctest --test-dir build/debug --output-on-failure

cmake -B build/release -DCMAKE_BUILD_TYPE=Release
cmake --build build/release --parallel
ctest --test-dir build/debug --output-on-failure
31 changes: 31 additions & 0 deletions .github/workflows/test-nvidia-gpu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run tests on NVIDIA GPU

on:
pull_request:
branches: [ "main" ]

jobs:
gpu-tests:
runs-on: cern-nextgen-h100
container: registry.cern.ch/ngt/lxplus-like:9

steps:
- uses: actions/checkout@v4

- name: Compile and run CUDA tests
working-directory: ${{ github.workspace }}/tests
run: |
cmake -B build/debug -DCMAKE_BUILD_TYPE=Debug
cmake --build build/debug --parallel
ctest --test-dir build/debug --output-on-failure

cmake -B build/release -DCMAKE_BUILD_TYPE=Release
cmake --build build/release --parallel
ctest --test-dir build/debug --output-on-failure

# strategy:
# matrix:
# runner:
# - cern-nextgen-h100
# - cern-nextgen-l40s
# runs-on: ${{ matrix.runner }}
Loading