GPU fully compiling #927
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
jobs: | |
build-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Run CMake | |
run: | | |
cd ${{ github.workspace }} | |
mkdir build | |
cd build | |
cmake -DKokkos_ENABLE_THREADS=ON -DKokkos_ENABLE_SERIAL=ON ../ | |
- name: Build | |
run: cd build; make -j2 | |
- name: Run Tests | |
run: cd build; ./RunTests --kokkos-threads=2 --reporter junit -o test-results.xml | |
- name: Publish Unit Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v1 | |
if: always() | |
with: | |
check_name: "Test Results" | |
files: build/test-results.xml | |