Fix misspelled cmake variable, for some systems leading to not compil… #107
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: github-windows | |
on: | |
push: | |
pull_request: | |
concurrency: | |
group: ${ {github.event_name }}-${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{github.event_name == 'pull_request'}} | |
permissions: read-all | |
jobs: | |
windows-cuda: | |
# Cuda build on Windows | |
name: Windows Cuda | |
runs-on: windows-2022 | |
steps: | |
- uses: Jimver/cuda-toolkit@9b295696791d75d658d8de64c4a85097ad8abeaf # v0.2.16 | |
id: cuda-toolkit | |
with: | |
cuda: '12.4.1' | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: configure | |
shell: bash | |
run: | | |
mkdir build | |
mkdir c:/project | |
cd build | |
cmake -DKokkos_ENABLE_CUDA=ON -DKokkos_ARCH_VOLTA70=ON -DKokkos_ENABLE_TESTS=ON -DKokkos_ENABLE_COMPILE_AS_CMAKE_LANGUAGE=ON .. | |
- name: build library | |
shell: bash | |
run: | | |
cmake --build build --parallel 2 --config Release |