From 26069e7ffeb2f45c26c6e36c219a56fa2388bf86 Mon Sep 17 00:00:00 2001 From: "John J. Camilleri" Date: Thu, 14 Oct 2021 22:09:55 +0200 Subject: [PATCH] Set LD_LIBRARY_PATH globally in all workflow jobs/steps --- .github/workflows/build-majestic.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-majestic.yml b/.github/workflows/build-majestic.yml index 009ca2972..c72618d91 100644 --- a/.github/workflows/build-majestic.yml +++ b/.github/workflows/build-majestic.yml @@ -2,6 +2,9 @@ name: Build majestic runtime on: push +env: + LD_LIBRARY_PATH: /usr/local/lib + jobs: ubuntu-runtime: @@ -47,8 +50,6 @@ jobs: - name: Build & run testsuite working-directory: ./src/runtime/haskell - env: - LD_LIBRARY_PATH: /usr/local/lib run: | cabal test --extra-lib-dirs=/usr/local/lib @@ -75,8 +76,6 @@ jobs: - name: Run testsuite working-directory: ./src/runtime/python - env: - LD_LIBRARY_PATH: /usr/local/lib run: | pip install pytest pytest @@ -103,8 +102,6 @@ jobs: - name: Run testsuite working-directory: ./src/runtime/javascript - env: - LD_LIBRARY_PATH: /usr/local/lib run: | npm run test @@ -161,7 +158,5 @@ jobs: - name: Build & run testsuite working-directory: ./src/runtime/haskell - env: - LD_LIBRARY_PATH: /usr/local/lib run: | cabal test --extra-lib-dirs=/usr/local/lib