Skip to content

Commit 1540490

Browse files
committed
ssh maybe
1 parent 40da4c0 commit 1540490

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/haskell.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff 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"
62-
echo "PKG_CONFIG_PATH=${LMDB_STORE}/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV
60+
echo "PKG_CONFIG_PATH_FOR_TARGET=${LMDB_STORE}/lib/pkgconfig:$PKG_CONFIG_PATH_FOR_TARGET" >> $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:
@@ -80,6 +72,11 @@ jobs:
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

0 commit comments

Comments
 (0)