diff options
| author | John J. Camilleri <john@digitalgrammars.com> | 2020-11-24 22:46:28 +0100 |
|---|---|---|
| committer | John J. Camilleri <john@digitalgrammars.com> | 2020-11-24 22:46:28 +0100 |
| commit | 3e1c69da2138ad2d494e8ff0c30003f1dfbfb9aa (patch) | |
| tree | d58bb3f5d2712e2857b964ae57875b27f2c29c0c /.github/workflows | |
| parent | 4bcde7d6a21823c180e49fda53c4290a4804df16 (diff) | |
First attempt at building Python bindings for Windows
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build-windows-package.yml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/build-windows-package.yml b/.github/workflows/build-windows-package.yml index 0be77e614..2bd5051c3 100644 --- a/.github/workflows/build-windows-package.yml +++ b/.github/workflows/build-windows-package.yml @@ -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" \ WINDOWS_LDFLAGS="-L\"/mingw64/lib\" -no-undefined" make install - find /mingw64 -name jpgf.jar - cp .libs//msys-jpgf-0.dll /c/tmp-dist + cp .libs//msys-jpgf-0.dll /c/tmp-dist/jpgf.dll 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 run: | |
