Skip to content

Commit

Permalink
[ci] try building cuda examples
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev committed Nov 15, 2024
1 parent 74cbfc1 commit 6f12c3a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,21 @@ jobs:
# Execute the build. You can specify a specific target with "--target <NAME>"
run: ccache -p && ccache -z && cmake --build . && ccache -s

- name: Test
- name: Build [cuda]
if: ${{ matrix.device == 'cuda' }}
working-directory: ${{github.workspace}}/build
shell: bash
# Execute the build. You can specify a specific target with "--target <NAME>"
run: ccache -p && ccache -z && cmake --build . --target bspmm-cuda-parsec testing_dpotrf_cuda-parsec chain-ttg-cuda-parsec && ccache -s

- name: Test [host]
if: ${{ matrix.device == 'host' }}
working-directory: ${{github.workspace}}/build
shell: bash
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
# run: ctest -C $BUILD_TYPE
run: cmake --build . --target check-ttg
run: ccache -p && ccache -z && cmake --build . --target check-ttg && ccache -s

- name: Install
working-directory: ${{github.workspace}}/build
Expand Down

0 comments on commit 6f12c3a

Please sign in to comment.