-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup CI heartbeat for self-hosted runners
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# SPDX-FileCopyrightText: (C) The Kokkos-FFT development team, see COPYRIGHT.md file | ||
# | ||
# SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception | ||
|
||
# Send a dummy job to the custom runners every two weeks to keep them alive. | ||
# See https://github.com/actions/runner/issues/756 . | ||
|
||
name: CI self-hosted runners heartbeat | ||
|
||
on: | ||
schedule: | ||
- cron: "0 1 1,15" # every 1st and 15th of the month at 1am UTC | ||
workflow_dispatch: | ||
|
||
jobs: | ||
heartbeat: | ||
runs-on: ${{ matrix.runner }} | ||
|
||
strategy: | ||
matrix: | ||
runner: | ||
- [self-hosted, cuda] | ||
|
||
steps: | ||
- name: Heartbeat | ||
run: echo "Runner is alive" |