19
19
on :
20
20
push :
21
21
paths :
22
- - " **.bat"
23
- - " **/*.cpp"
24
- - " **.f90"
25
- - " **.F90"
26
- - " **.cmake"
27
- - " **/CMakeLists.txt"
28
22
- " .github/workflows/oneapi-windows.yml"
29
23
- " .github/workflows/oneapi_install_windows.bat"
30
24
- " .github/workflows/oneapi_run_windows.bat"
31
25
- " .github/workflows/oneapi_cache_exclude_windows.bat"
26
+ schedule :
27
+ - cron : ' 25 10 6 * *'
28
+
32
29
33
30
jobs :
34
31
@@ -39,17 +36,20 @@ jobs:
39
36
steps :
40
37
- uses : actions/checkout@v3
41
38
42
- - name : cache install oneAPI
43
- timeout-minutes : 10
44
- id : cache-install
45
- uses : actions/cache@v3
46
- with :
47
- path : |
48
- C:\Program Files (x86)\Intel\oneAPI\setvars.bat
49
- C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat
50
- C:\Program Files (x86)\Intel\oneAPI\compiler
51
- C:\Program Files (x86)\Intel\oneAPI\mpi
52
- key : install-${{ env.WINDOWS_HPCKIT_URL }}-${{ env.WINDOWS_CPP_COMPONENTS }}-${{ env.WINDOWS_FORTRAN_COMPONENTS }}-${{ env.WINDOWS_MPI_COMPONENTS }}
39
+ # - name: cache install oneAPI
40
+ # timeout-minutes: 10
41
+ # id: cache-install
42
+ # uses: actions/cache@v3
43
+ # with:
44
+ # path: |
45
+ # C:\Program Files (x86)\Intel\oneAPI\setvars.bat
46
+ # C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat
47
+ # C:\Program Files (x86)\Intel\oneAPI\compiler
48
+ # C:\Program Files (x86)\Intel\oneAPI\mpi
49
+ # key: install-${{ env.WINDOWS_HPCKIT_URL }}-${{ env.WINDOWS_CPP_COMPONENTS }}-${{ env.WINDOWS_FORTRAN_COMPONENTS }}-${{ env.WINDOWS_MPI_COMPONENTS }}
50
+ # NOTE: cache recovers oneAPI, but the setvars.bat doesn't actually find oneAPI (does find Visual Studio).
51
+ # cache@v2 and cache@v3 have the same behavior.
52
+ # Thus we run monthly till we figure out cache.
53
53
54
54
- name : no-cache install oneAPI
55
55
timeout-minutes : 40
0 commit comments