Skip to content

Commit 724cc25

Browse files
committed
Run nightly CI against develop, pull requests against latest relase
1 parent 1f72a25 commit 724cc25

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build-with-kokkos.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Build Kokkos alongside with Kokkos Tools for various configurations
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '0 2 * * *'
48

59
jobs:
610
build-kokkos:
@@ -33,12 +37,12 @@ jobs:
3337
steps:
3438
- name: Checkout Kokkos Tools
3539
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
36-
- name: Checkout Kokkos repository at latest develop
40+
- name: Checkout Kokkos repository
3741
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3842
with:
3943
repository: kokkos/kokkos
4044
path: kokkos
41-
ref: develop
45+
ref: ${{ github.event_name == 'schedule' && 'develop' || '5.0.2' }}
4246
- name: Checkout Varioum
4347
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4448
with:

0 commit comments

Comments
 (0)