mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-06 17:52:51 -06:00
Need to add pip to msys2 path
This commit is contained in:
34
.github/workflows/build-windows-package.yml
vendored
34
.github/workflows/build-windows-package.yml
vendored
@@ -24,18 +24,6 @@ jobs:
|
|||||||
base-devel
|
base-devel
|
||||||
gcc
|
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
|
- name: Prepare dist folder
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
run: |
|
run: |
|
||||||
@@ -64,7 +52,15 @@ jobs:
|
|||||||
cp .libs//msys-jpgf-0.dll /c/tmp-dist/jpgf.dll
|
cp .libs//msys-jpgf-0.dll /c/tmp-dist/jpgf.dll
|
||||||
cp jpgf.jar /c/tmp-dist
|
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
|
- name: Build Python bindings
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
@@ -72,11 +68,23 @@ jobs:
|
|||||||
EXTRA_INCLUDE_DIRS: /mingw64/include
|
EXTRA_INCLUDE_DIRS: /mingw64/include
|
||||||
EXTRA_LIB_DIRS: /mingw64/lib
|
EXTRA_LIB_DIRS: /mingw64/lib
|
||||||
run: |
|
run: |
|
||||||
|
pip install python-dev-tools
|
||||||
cd src/runtime/python
|
cd src/runtime/python
|
||||||
python setup.py build
|
python setup.py build
|
||||||
python setup.py install
|
python setup.py install
|
||||||
# cp build/*/pgf.so /c/tmp-dist
|
# 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
|
- name: Build GF
|
||||||
run: |
|
run: |
|
||||||
cabal install --only-dependencies -fserver
|
cabal install --only-dependencies -fserver
|
||||||
|
|||||||
Reference in New Issue
Block a user