Skip to content

Use standard macro. #155

Use standard macro.

Use standard macro. #155

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test-macOS-GCC:
name: macOS-GCC
runs-on: macos-latest
steps:
- name: Fetch TBB
run: brew install tbb
- name: Checkout HIP CPU Runtime
uses: actions/checkout@v3.6.0
- name: Build HIP CPU Runtime tests
run: |
cd ${{github.workspace}}
mkdir build
cd build
cmake ../ -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_COMPILER=g++-12
cmake --build ${{github.workspace}}/build --config RelWithDebInfo -j 3
- name: Run Tests
run: |
cd ${{github.workspace}}/build
ctest -C RelWithDebInfo --output-on-failure
test-Ubuntu-GCC:
name: Ubuntu
runs-on: ubuntu-latest
steps:
- name: Fetch TBB
run: sudo apt-get install libtbb-dev
- name: Checkout HIP CPU Runtime
uses: actions/checkout@v3.6.0
- name: Build HIP CPU Runtime tests
run: |
cd ${{github.workspace}}
mkdir build
cd build
cmake ../ -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build ${{github.workspace}}/build --config RelWithDebInfo -j 3
- name: Run Tests
run: |
cd ${{github.workspace}}/build
ctest -C RelWithDebInfo --output-on-failure
test-Windows:
name: Windows
runs-on: windows-latest
steps:
- name: Checkout HIP CPU Runtime
uses: actions/checkout@v3.6.0
- name: Build HIP CPU Runtime tests
run: |
cd ${{github.workspace}}
mkdir build
cd build
cmake ../ -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build ${{github.workspace}}/build --config RelWithDebInfo
- name: Run Tests
run: |
cd ${{github.workspace}}/build
ctest -C RelWithDebInfo --output-on-failure