Repository navigation
Add Kokkos device integration tests #115
Workflow file for this run
This file contains hidden or 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: Mac | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| xcode_macos_15_intel: | |
| runs-on: macos-15-intel | |
| continue-on-error: true | |
| strategy: | |
| matrix: | |
| # all available versions of xcode: https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md#xcode | |
| xcode: ['16.0', '16.1', '16.2'] | |
| build_type: [Release] | |
| env: | |
| DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run Cmake | |
| run: cmake -S . -B build -D CMAKE_BUILD_TYPE=${{ matrix.build_type }} | |
| - name: Build | |
| run: cmake --build build --parallel 10 | |
| - name: Run tests | |
| run: | | |
| cd build | |
| ctest -C ${{ matrix.build_type }} --output-on-failure -j 10 --verbose . | |
| macos_latest: | |
| runs-on: macos-latest | |
| continue-on-error: true | |
| strategy: | |
| matrix: | |
| build_type: [Release] | |
| env: | |
| CC: clang | |
| CXX: clang++ | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: '26.0' | |
| - name: Run Cmake | |
| run: cmake -S . -B build -D CMAKE_BUILD_TYPE=${{ matrix.build_type }} | |
| - name: Build | |
| run: cmake --build build --parallel 10 | |
| - name: Run tests | |
| run: | | |
| cd build | |
| ctest -C ${{ matrix.build_type }} --output-on-failure -j 10 --verbose . |