1919on :
2020 push :
2121 paths :
22- - " **.bat"
23- - " **/*.cpp"
24- - " **.f90"
25- - " **.F90"
26- - " **.cmake"
27- - " **/CMakeLists.txt"
2822 - " .github/workflows/oneapi-windows.yml"
2923 - " .github/workflows/oneapi_install_windows.bat"
3024 - " .github/workflows/oneapi_run_windows.bat"
3125 - " .github/workflows/oneapi_cache_exclude_windows.bat"
26+ schedule :
27+ - cron : ' 25 10 6 * *'
28+
3229
3330jobs :
3431
@@ -39,17 +36,20 @@ jobs:
3936 steps :
4037 - uses : actions/checkout@v3
4138
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.
5353
5454 - name : no-cache install oneAPI
5555 timeout-minutes : 40
0 commit comments