Skip to content

Commit 8831e42

Browse files
committed
Add Windows Serial build on github runner
This uses MSVC 2019 as the appveyor build did. Also the runners have 4 cpus. Signed-off-by: Christian Trott <crtrott@sandia.gov>
1 parent 20a4dac commit 8831e42

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

.github/workflows/continuous-integration-windows.yml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ concurrency:
1010
permissions: read-all
1111

1212
jobs:
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

0 commit comments

Comments
 (0)