1
0
forked from GitHub/gf-core

Need to add pip to msys2 path

This commit is contained in:
John J. Camilleri
2020-11-26 23:02:16 +01:00
parent 24bbeb31df
commit 0632824b99

View File

@@ -24,18 +24,6 @@ jobs:
base-devel
gcc
- name: Setup Haskell
uses: actions/setup-haskell@v1
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- name: Install build tools
run: |
cabal install alex happy
pip install python-dev-tools
- name: Prepare dist folder
shell: msys2 {0}
run: |
@@ -64,7 +52,15 @@ jobs:
cp .libs//msys-jpgf-0.dll /c/tmp-dist/jpgf.dll
cp jpgf.jar /c/tmp-dist
- run: where python
- run: echo %PATH%
- shell: msys2 {0}
run: echo $PATH
- name: Install Python build tools
shell: msys2 {0}
run: |
pip install python-dev-tools
- name: Build Python bindings
shell: msys2 {0}
@@ -72,11 +68,23 @@ jobs:
EXTRA_INCLUDE_DIRS: /mingw64/include
EXTRA_LIB_DIRS: /mingw64/lib
run: |
pip install python-dev-tools
cd src/runtime/python
python setup.py build
python setup.py install
# cp build/*/pgf.so /c/tmp-dist
- name: Setup Haskell
uses: actions/setup-haskell@v1
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- name: Install Haskell build tools
run: |
cabal install alex happy
- name: Build GF
run: |
cabal install --only-dependencies -fserver