Use team_size_max to fix "Team size too large" error in reducer test … #12
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: | |
push: | |
branches: | |
- develop | |
pull_request: | |
paths-ignore: | |
- '**/*.md' | |
types: [ opened, reopened, synchronize ] | |
concurrency: | |
group: ${ {github.event_name }}-${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{github.event_name == 'pull_request'}} | |
jobs: | |
osxci: | |
name: osx-ci | |
runs-on: [macos-latest] | |
strategy: | |
matrix: | |
include: | |
- backend: "SERIAL" | |
cmake_build_type: "RelWithDebInfo" | |
- backend: "THREADS" | |
cmake_build_type: "RelWithDebInfo" | |
- backend: "SERIAL" | |
cmake_build_type: "Debug" | |
- backend: "SERIAL" | |
cmake_build_type: "Release" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: configure | |
run: | |
cmake -B build . | |
-DKokkos_ENABLE_${{ matrix.backend }}=On | |
-DCMAKE_CXX_FLAGS="-Werror" | |
-DCMAKE_CXX_STANDARD=17 | |
-DKokkos_ENABLE_COMPILER_WARNINGS=ON | |
-DKokkos_ENABLE_DEPRECATED_CODE_4=OFF | |
-DKokkos_ENABLE_TESTS=On | |
-DCMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }} | |
- name: build | |
run: | |
cmake --build build --parallel 2 | |
- name: test | |
working-directory: build | |
run: ctest --output-on-failure |