Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .github/workflows/github-nightly-windows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Nightly, Hosted Runners, Windows

on:
schedule:
# 9:50 AM UTC (~2:50 AM Mountain), Monday-Friday
- cron: "50 9 * * 1-5"
workflow_dispatch:
Comment on lines +4 to +7
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that file duplicating the continuous workflow or does it actually have a different definition besides the triggering "on" section?


jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
include:
- os: windows-latest
cpp_compiler: cl
build_type: Release
backend: SERIAL

steps:
- name: Checkout Kokkos Tutorials
uses: actions/checkout@v4
with:
path: kokkos-tutorials

- name: Checkout Kokkos
uses: actions/checkout@v4
with:
repository: 'kokkos/kokkos'
ref: develop
path: kokkos

- name: Configure Kokkos
run: >
cmake -S ${{ github.workspace}}\kokkos -B ${{ github.workspace}}\build-kokkos
-DCMAKE_INSTALL_PREFIX=${{ github.workspace}}\install-kokkos
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}

- name: Build & Install Kokkos
run: cmake --build ${{ github.workspace}}\build-kokkos --config ${{ matrix.build_type }} --parallel 2 --target install

- name: Configure and Build Exercises
run: |
${{ github.workspace}}\kokkos-tutorials\Scripts\ci-configure-build-test.bat ^
${{ github.workspace}}\install-kokkos\lib\cmake\Kokkos ^
${{ github.workspace}}\kokkos-tutorials ^
${{ matrix.cpp_compiler}} ^
${{ matrix.build_type}} ^
${{ matrix.backend }}
shell: cmd