File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -56,18 +56,10 @@ jobs:
5656 run : |
5757 nix-env -f '<nixpkgs>' -iA lmdb
5858 LMDB_STORE=$(find /nix/store -maxdepth 1 -name '*lmdb*-dev' -type d | head -1)
59- echo "LMDB dev store path: $LMDB_STORE"
6059 if [ -n "$LMDB_STORE" ]; then
61- ls -la "$LMDB_STORE/lib/pkgconfig/" || echo "No pkgconfig dir"
6260 echo "PKG_CONFIG_PATH=${LMDB_STORE}/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV
6361 fi
6462 shell : devx {0}
65- - name : Verify LMDB availability
66- run : |
67- echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH"
68- pkg-config --exists lmdb && echo "LMDB found by pkg-config" || echo "LMDB NOT found by pkg-config"
69- pkg-config --modversion lmdb || true
70- shell : devx {0}
7163 - name : cache cabal
7264 uses : actions/cache@v3
7365 with :
8072 run : cabal update
8173 - name : cabal build dependencies
8274 run : cabal build all -j --enable-tests --only-dependencies
75+ - name : Setup tmate session
76+ uses : mxschmitt/action-tmate@v3
77+ if : ${{ failure() }}
78+ with :
79+ limit-access-to-actor : true
8380 - name : cabal build
8481 run : cabal build all -j --enable-tests
8582 - name : postgres init
You can’t perform that action at this time.
0 commit comments