mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
Attempt to build C runtime in Windows build using MSYS
This commit is contained in:
19
.github/workflows/build-windows-package.yml
vendored
19
.github/workflows/build-windows-package.yml
vendored
@@ -17,6 +17,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Setup MSYS2
|
||||||
|
uses: msys2/setup-msys2@v2
|
||||||
|
with:
|
||||||
|
install: >-
|
||||||
|
base-devel
|
||||||
|
|
||||||
- name: Setup Haskell
|
- name: Setup Haskell
|
||||||
uses: actions/setup-haskell@v1
|
uses: actions/setup-haskell@v1
|
||||||
id: setup-haskell-cabal
|
id: setup-haskell-cabal
|
||||||
@@ -28,6 +34,19 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cabal install alex happy
|
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
|
- name: Build GF
|
||||||
run: |
|
run: |
|
||||||
cabal install --only-dependencies -fserver
|
cabal install --only-dependencies -fserver
|
||||||
|
|||||||
Reference in New Issue
Block a user