Skip to content

Merge pull request #6231 from ndellingwood/master #10

Merge pull request #6231 from ndellingwood/master

Merge pull request #6231 from ndellingwood/master #10

Workflow file for this run

name: github-OSX
on: [push, pull_request]
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