File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 19
19
matrix :
20
20
os : [ubuntu-latest, macos-latest, windows-latest]
21
21
gcc_v : [9] # Version of GFortran we want to use.
22
+ include :
23
+ - os : ubuntu-latest
24
+ STACK_CACHE : " /home/runner/.stack/"
25
+ STACK_CACHE_VERSION : " "
26
+ - os : macos-latest
27
+ STACK_CACHE : |
28
+ /Users/runner/.stack/snapshots
29
+ /Users/runner/.stack/setup-exe-src
30
+ STACK_CACHE_VERSION : " v2"
31
+ - os : windows-latest
32
+ STACK_CACHE : |
33
+ C:\Users\runneradmin\AppData\Roaming\stack
34
+ C:\Users\runneradmin\AppData\Local\Programs\stack
35
+ STACK_CACHE_VERSION : " v2"
36
+
22
37
env :
23
38
FC : gfortran
24
39
GCC_V : ${{ matrix.gcc_v }}
61
76
--slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} \
62
77
--slave /usr/bingcov gcov /usr/bin/gcov-${GCC_V}
63
78
79
+ - name : Get Time
80
+ id : time
81
+
82
+ with :
83
+ format : ' YYYY-MM'
84
+
85
+ - name : Setup github actions cache
86
+ id : cache
87
+ uses : actions/cache@v2
88
+ with :
89
+ path : ${{matrix.STACK_CACHE}}
90
+ key : ${{ runner.os }}-${{ steps.time.outputs.time }}${{matrix.STACK_CACHE_VERSION}}
91
+
64
92
- name : Build Haskell fpm
65
93
run : |
66
94
cd bootstrap
You can’t perform that action at this time.
0 commit comments