File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 69
69
path : ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
70
70
key : ${{ runner.os }}-${{ matrix.ghc }}--${{ github.Shah }}-CACHE_V3
71
71
# ----------------
72
+ - name : " Install PAPI"
73
+ run : |
74
+ sudo apt-get install -y libpapi-dev
75
+ echo FLAG_PAPI=-fBenchPAPI >> "$GITHUB_ENV"
76
+ if : matrix.os == 'ubuntu-latest'
77
+ # ----------------
72
78
- name : Versions
73
79
run : |
74
80
cabal -V
91
97
# ----------------
92
98
- name : Build
93
99
run : |
94
- set -x
95
- cabal configure ${{ matrix.flags }} --haddock-all --enable-tests --enable-benchmarks --benchmark-option=-l
100
+ echo FLAG_PAPI=$FLAG_PAPI
101
+ cabal configure ${{ matrix.flags }} $FLAG_PAPI --haddock-all --enable-tests --enable-benchmarks --benchmark-option=-l
96
102
cabal build all --write-ghc-environment-files=always
97
103
# ----------------
98
104
- name : Test
You can’t perform that action at this time.
0 commit comments