Explicitly specify env vars when building GF (test)

This commit is contained in:
John J. Camilleri
2020-11-09 17:43:15 +01:00
parent 24619bc3ee
commit 13ec9ca888

View File

@@ -22,23 +22,10 @@ jobs:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
# - name: Freeze
# run: |
# cabal freeze
#
# - uses: actions/cache@v1
# name: Cache ~/.cabal/store
# with:
# path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
# key: ${{ runner.os }}-${{ matrix.ghc }}
# # key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
- name: Install build tools
run: |
brew install \
automake \
autoconf \
libtool
automake
- name: Checkout RGL
run: |
@@ -47,6 +34,9 @@ jobs:
- name: Build macOS package
run: |
make pkg
env:
DYLD_LIBRARY_PATH: /Users/runner/work/gf-core/gf-core/dist/gf-3.10.4-git/usr/local/lib
LD_LIBRARY_PATH: /Users/runner/work/gf-core/gf-core/dist/gf-3.10.4-git/usr/local/lib
- name: Copy packages
run: |