forked from GitHub/gf-core
Set LD_LIBRARY_PATH globally in all workflow jobs/steps
This commit is contained in:
11
.github/workflows/build-majestic.yml
vendored
11
.github/workflows/build-majestic.yml
vendored
@@ -2,6 +2,9 @@ name: Build majestic runtime
|
|||||||
|
|
||||||
on: push
|
on: push
|
||||||
|
|
||||||
|
env:
|
||||||
|
LD_LIBRARY_PATH: /usr/local/lib
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
ubuntu-runtime:
|
ubuntu-runtime:
|
||||||
@@ -47,8 +50,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Build & run testsuite
|
- name: Build & run testsuite
|
||||||
working-directory: ./src/runtime/haskell
|
working-directory: ./src/runtime/haskell
|
||||||
env:
|
|
||||||
LD_LIBRARY_PATH: /usr/local/lib
|
|
||||||
run: |
|
run: |
|
||||||
cabal test --extra-lib-dirs=/usr/local/lib
|
cabal test --extra-lib-dirs=/usr/local/lib
|
||||||
|
|
||||||
@@ -75,8 +76,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Run testsuite
|
- name: Run testsuite
|
||||||
working-directory: ./src/runtime/python
|
working-directory: ./src/runtime/python
|
||||||
env:
|
|
||||||
LD_LIBRARY_PATH: /usr/local/lib
|
|
||||||
run: |
|
run: |
|
||||||
pip install pytest
|
pip install pytest
|
||||||
pytest
|
pytest
|
||||||
@@ -103,8 +102,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Run testsuite
|
- name: Run testsuite
|
||||||
working-directory: ./src/runtime/javascript
|
working-directory: ./src/runtime/javascript
|
||||||
env:
|
|
||||||
LD_LIBRARY_PATH: /usr/local/lib
|
|
||||||
run: |
|
run: |
|
||||||
npm run test
|
npm run test
|
||||||
|
|
||||||
@@ -161,7 +158,5 @@ jobs:
|
|||||||
|
|
||||||
- name: Build & run testsuite
|
- name: Build & run testsuite
|
||||||
working-directory: ./src/runtime/haskell
|
working-directory: ./src/runtime/haskell
|
||||||
env:
|
|
||||||
LD_LIBRARY_PATH: /usr/local/lib
|
|
||||||
run: |
|
run: |
|
||||||
cabal test --extra-lib-dirs=/usr/local/lib
|
cabal test --extra-lib-dirs=/usr/local/lib
|
||||||
|
|||||||
Reference in New Issue
Block a user