mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 08:32:50 -06:00
First attempt at building Python bindings for Windows
This commit is contained in:
11
.github/workflows/build-windows-package.yml
vendored
11
.github/workflows/build-windows-package.yml
vendored
@@ -60,11 +60,16 @@ jobs:
|
|||||||
JNI_INCLUDES="-I \"/c/Program Files/Java/jdk8u275-b01/include\" -I \"/c/Program Files/Java/jdk8u275-b01/include/win32\" -I \"/mingw64/include\" -D__int64=int64_t" \
|
JNI_INCLUDES="-I \"/c/Program Files/Java/jdk8u275-b01/include\" -I \"/c/Program Files/Java/jdk8u275-b01/include/win32\" -I \"/mingw64/include\" -D__int64=int64_t" \
|
||||||
WINDOWS_LDFLAGS="-L\"/mingw64/lib\" -no-undefined"
|
WINDOWS_LDFLAGS="-L\"/mingw64/lib\" -no-undefined"
|
||||||
make install
|
make install
|
||||||
find /mingw64 -name jpgf.jar
|
cp .libs//msys-jpgf-0.dll /c/tmp-dist/jpgf.dll
|
||||||
cp .libs//msys-jpgf-0.dll /c/tmp-dist
|
|
||||||
cp jpgf.jar /c/tmp-dist
|
cp jpgf.jar /c/tmp-dist
|
||||||
|
|
||||||
# - name: Build Python bindings
|
- name: Build Python bindings
|
||||||
|
shell: msys2 {0}
|
||||||
|
run: |
|
||||||
|
cd src/runtime/python
|
||||||
|
python setup.py build
|
||||||
|
python setup.py install
|
||||||
|
cp build/*/pgf.so /c/tmp-dist
|
||||||
|
|
||||||
- name: Build GF
|
- name: Build GF
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user