summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJohn J. Camilleri <john@digitalgrammars.com>2020-11-26 23:02:16 +0100
committerJohn J. Camilleri <john@digitalgrammars.com>2020-11-26 23:02:16 +0100
commit0632824b997965f2099676fa94e61b0314c2bd2b (patch)
tree47859fce7de49d79b7e0155a4ea34be023918ddb /.github
parent24bbeb31df6558c85ac7ff5a47e4bcfc532dfafe (diff)
Need to add pip to msys2 path
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-windows-package.yml34
1 files changed, 21 insertions, 13 deletions
diff --git a/.github/workflows/build-windows-package.yml b/.github/workflows/build-windows-package.yml
index 6ebe71c06..9522d018b 100644
--- a/.github/workflows/build-windows-package.yml
+++ b/.github/workflows/build-windows-package.yml
@@ -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