Skip to content

Commit

Permalink
add hip workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alifahrri committed Jun 6, 2024
1 parent b13dfcd commit 6908213
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/hip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: hip

on:
push:
branches:
- 'master'
tags:
- 'v*'
pull_request:
branches:
- '*'

jobs:
hip:
name: hip-6.1
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: install hip
run: bash scripts/install_hip.sh
- name: setup doctest
run: bash scripts/download_doctest_header.sh -d include/
- name: build
run: |
mkdir -p build/hip && cd build/hip
cmake -DCMAKE_TOOLCHAIN_FILE=../../cmake/toolchains/hip.cmake -DNMTOOLS_BUILD_HIP_TESTS=ON ../..
make -j2

0 comments on commit 6908213

Please sign in to comment.