Skip to content

Commit

Permalink
Merge pull request #1419 from dmcdougall/add_rocm_ci_versions
Browse files Browse the repository at this point in the history
Add more ROCm versions to CI
  • Loading branch information
maddyscientist authored Dec 1, 2023
2 parents 3d78e70 + 8f6c951 commit e46c1ed
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/rocm-build-ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: rocm-build-ci
run-name: ${{ github.actor }} is kicking off a ROCm build
on: pull_request
jobs:
rocm-build:
runs-on: [self-hosted, amd]
strategy:
matrix:
rocm: [ 5.6.1, 5.7.2 ]
steps:
- uses: actions/checkout@v3
- run: |
export ROCM_PATH=/opt/rocm-5.5.0
export ROCM_PATH=/opt/rocm-${{ matrix.rocm }}
export PATH=${ROCM_PATH}/bin:${ROCM_PATH}/llvm/bin:${PATH}
SRCROOT=`pwd`
BUILDROOT=`mktemp -d build-XXXXXXXX`
Expand Down Expand Up @@ -40,7 +42,7 @@ jobs:
-DQUDA_DOWNLOAD_EIGEN=ON \
-DQUDA_PRECISION=14 \
-DCMAKE_INSTALL_PREFIX=${INSTALLROOT} \
-DCMAKE_BUILD_TYPE="DEVEL" \
-DCMAKE_BUILD_TYPE="STRICT" \
-DCMAKE_CXX_COMPILER="${ROCM_PATH}/llvm/bin/clang++" \
-DCMAKE_C_COMPILER="${ROCM_PATH}/llvm/bin/clang" \
-DCMAKE_HIP_COMPILER="${ROCM_PATH}/llvm/bin/clang++" \
Expand Down

0 comments on commit e46c1ed

Please sign in to comment.