Skip to content

Commit

Permalink
Add github workflow test file
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsfriess committed Jun 8, 2022
1 parent 722f6c5 commit 8378aba
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/linux_hipsycl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: hipSYCL test

on: [push]

jobs:
test-with-hipsycl:
name: Run tests with hipSYCL
strategy:
matrix:
clang_version: [13]
rocm_version: ['5.1.1']
os: [ubuntu-20.04]
cuda: [11.0]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: install ROCm
run: |
sudo apt install libnuma-dev cmake unzip
wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/${{matrix.rocm_version}}/ ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list
sudo apt update
sudo apt install rocm-dev

0 comments on commit 8378aba

Please sign in to comment.