summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJohn J. Camilleri <john@digitalgrammars.com>2020-11-19 00:58:07 +0100
committerJohn J. Camilleri <john@digitalgrammars.com>2020-11-19 00:58:07 +0100
commit424e6887b517bfb2638ed19391ffc025b058ed34 (patch)
treec4ca8e0432ebe769365093e77f08237f82beca3c /.github/workflows
parent4987b70df7711b274f7d420aa0ff99c74ac37d02 (diff)
Attempt to build C runtime in Windows build using MSYS
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build-windows-package.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/build-windows-package.yml b/.github/workflows/build-windows-package.yml
index 56312717e..3b71a3c6e 100644
--- a/.github/workflows/build-windows-package.yml
+++ b/.github/workflows/build-windows-package.yml
@@ -17,6 +17,12 @@ jobs:
steps:
- uses: actions/checkout@v2
+ - name: Setup MSYS2
+ uses: msys2/setup-msys2@v2
+ with:
+ install: >-
+ base-devel
+
- name: Setup Haskell
uses: actions/setup-haskell@v1
id: setup-haskell-cabal
@@ -28,6 +34,19 @@ jobs:
run: |
cabal install alex happy
+ - name: Build C runtime
+ shell: msys2 {0}
+ run: |
+ cd src\runtime\c
+ autoreconf -i
+ ./configure
+ make
+ make install
+
+ # - name: Build Java bindings
+ #
+ # - name: Build Python bindings
+
- name: Build GF
run: |
cabal install --only-dependencies -fserver