File tree Expand file tree Collapse file tree 1 file changed +23
-7
lines changed
Expand file tree Collapse file tree 1 file changed +23
-7
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ concurrency:
1010permissions : read-all
1111
1212jobs :
13- windows-cuda :
13+ windows :
1414 # Cuda build on Windows
15- name : Windows Cuda
15+ name : Cuda VS-2022
1616 runs-on : windows-2022
1717
1818 steps :
@@ -24,11 +24,27 @@ jobs:
2424 - name : configure
2525 shell : bash
2626 run : |
27- mkdir build
28- mkdir c:/project
29- cd build
30- cmake -DKokkos_ENABLE_CUDA=ON -DKokkos_ARCH_VOLTA70=ON -DKokkos_ENABLE_TESTS=ON -DKokkos_ENABLE_COMPILE_AS_CMAKE_LANGUAGE=ON ..
27+ cmake -B build -DKokkos_ENABLE_CUDA=ON -DKokkos_ARCH_VOLTA70=ON -DKokkos_ENABLE_TESTS=ON -DKokkos_ENABLE_COMPILE_AS_CMAKE_LANGUAGE=ON
3128 - name : build library
3229 shell : bash
3330 run : |
34- cmake --build build --parallel 2 --config Release
31+ cmake --build build --parallel 4 --config Release
32+ windows :
33+ # Serial build on Windows
34+ name : Serial VS-2019
35+ runs-on : windows-2019
36+
37+ steps :
38+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39+ - name : configure
40+ shell : bash
41+ run : |
42+ cmake -B build -DKokkos_ENABLE_SERIAL=ON -DKokkos_ENABLE_TESTS=ON -DKokkos_ENABLE_DEPRECATED_CODE_4=ON
43+ - name : build library
44+ shell : bash
45+ run : |
46+ cmake --build build --parallel 4 --config Release
47+ - name : run tests
48+ shell : bash
49+ run : |
50+ ctest --test-dir build -C Release -j 4 --output-on-failure
You can’t perform that action at this time.
0 commit comments