File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 7474 path : ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
7575 key : ${{ runner.os }}-${{ matrix.ghc }}--${{ github.Shah }}
7676 # ----------------
77+ - name : " Install PAPI"
78+ run : |
79+ sudo apt-get install -y libpapi-dev
80+ echo FLAG_PAPI=-fBenchPAPI >> "$GITHUB_ENV"
81+ if : matrix.os == 'ubuntu-latest'
82+ # ----------------
7783 - name : Versions
7884 run : |
7985 cabal -V
97103 run : |
98104 if [ "${{ matrix.skip-test }}" == "" ]; then FLAG_TEST=--enable-test; fi
99105 if [ "${{ matrix.skip-bench }}" == "" ]; then FLAG_BENCH=--enable-benchmarks; fi
100- cabal configure $FLAG_TEST $FLAG_BENCH --flags='${{matrix.flags}}'
106+ cabal configure $FLAG_PAPI $ FLAG_TEST $FLAG_BENCH --flags='${{matrix.flags}}'
101107 cabal build all --write-ghc-environment-files=always
102108 # ----------------
103109 - name : Test
You can’t perform that action at this time.
0 commit comments