Add user tolerance to Serial SVD #3055
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: github-OSX | |
on: | |
pull_request: | |
paths-ignore: | |
- '**/*.rst' | |
- '**/*.md' | |
- '**/requirements.txt' | |
- '**/*.py' | |
- 'docs/**' | |
types: [ opened, reopened, synchronize ] | |
permissions: | |
contents: none | |
# Cancels any in progress 'workflow' associated with this PR | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check-pr-labels: | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: docker://agilepathway/pull-request-label-checker:latest | |
with: | |
none_of: 'AT: WIP' | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
osxci: | |
needs: check-pr-labels | |
# TODO: allow re-run via retest label if: ${{ github.event.label.name == 'AT: RETEST' }} | |
name: osx-ci | |
runs-on: [macos-latest] | |
strategy: | |
matrix: | |
include: | |
- backend: "SERIAL" | |
cmake_build_type: "RelWithDebInfo" | |
debug_bounds_check: "ON" | |
- backend: "THREADS" | |
cmake_build_type: "RelWithDebInfo" | |
debug_bounds_check: "ON" | |
- backend: "SERIAL" | |
cmake_build_type: "Debug" | |
debug_bounds_check: "OFF" | |
- backend: "SERIAL" | |
cmake_build_type: "Release" | |
debug_bounds_check: "ON" | |
steps: | |
- name: checkout_kokkos_kernels | |
uses: actions/checkout@v3 | |
with: | |
path: kokkos-kernels | |
- name: checkout_kokkos | |
uses: actions/checkout@v3 | |
with: | |
repository: kokkos/kokkos | |
ref: develop | |
path: kokkos | |
- name: configure_kokkos | |
run: | | |
mkdir -p kokkos/{build,install} | |
cd kokkos/build | |
cmake \ | |
-DKokkos_ENABLE_${{ matrix.backend }}=ON \ | |
-DCMAKE_CXX_FLAGS="-Werror" \ | |
-DCMAKE_CXX_STANDARD=17 \ | |
-DKokkos_ENABLE_COMPILER_WARNINGS=ON \ | |
-DKokkos_ENABLE_DEBUG_BOUNDS_CHECK:BOOL=${{ matrix.debug_bounds_check }} \ | |
-DKokkos_ENABLE_DEPRECATED_CODE_3=OFF \ | |
-DKokkos_ENABLE_TESTS=OFF \ | |
-DKokkos_ENABLE_DEPRECATED_CODE_4=OFF \ | |
-DCMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }} \ | |
-DCMAKE_INSTALL_PREFIX=$PWD/../install \ | |
.. | |
- name: build_and_install_kokkos | |
working-directory: kokkos/build | |
run: make -j2 install | |
- name: configure_kokkos_kernels | |
run: | | |
mkdir -p kokkos-kernels/{build,install} | |
cd kokkos-kernels/build | |
cmake \ | |
-DKokkos_DIR=$PWD/../../kokkos/install/lib/cmake/Kokkos \ | |
-DCMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }} \ | |
-DCMAKE_CXX_FLAGS="-Wall -Wshadow -pedantic -Werror -Wsign-compare -Wtype-limits -Wignored-qualifiers -Wempty-body -Wuninitialized" \ | |
-DCMAKE_INSTALL_PREFIX=$PWD/../install \ | |
-DKokkosKernels_ENABLE_TESTS=ON \ | |
-DKokkosKernels_ENABLE_EXAMPLES:BOOL=ON \ | |
-DKokkosKernels_INST_COMPLEX_DOUBLE=ON \ | |
-DKokkosKernels_INST_DOUBLE=ON \ | |
-DKokkosKernels_INST_COMPLEX_FLOAT=ON \ | |
-DKokkosKernels_INST_FLOAT=ON \ | |
-DKokkosKernels_INST_LAYOUTLEFT:BOOL=ON \ | |
-DKokkosKernels_INST_LAYOUTRIGHT:BOOL=ON \ | |
-DKokkosKernels_INST_OFFSET_INT=ON \ | |
-DKokkosKernels_INST_OFFSET_SIZE_T=ON \ | |
-DKokkosKernels_ENABLE_TPL_CUSPARSE=OFF \ | |
-DKokkosKernels_ENABLE_TPL_CUBLAS=OFF \ | |
.. | |
- name: build_kokkos_kernels | |
working-directory: kokkos-kernels/build | |
run: make -j2 | |
- name: test | |
working-directory: kokkos-kernels/build | |
run: ctest -j2 --output-on-failure --timeout 7200 |