mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
Cleanup, update README
This commit is contained in:
35
.github/workflows/build-majestic.yml
vendored
35
.github/workflows/build-majestic.yml
vendored
@@ -11,17 +11,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
# All these are already available in GitHub runner
|
|
||||||
# - name: Install build tools
|
|
||||||
# run: |
|
|
||||||
# sudo apt-get update
|
|
||||||
# sudo apt-get install -y \
|
|
||||||
# autoconf \
|
|
||||||
# automake \
|
|
||||||
# libtool \
|
|
||||||
# make \
|
|
||||||
# g++
|
|
||||||
|
|
||||||
- name: Build C runtime
|
- name: Build C runtime
|
||||||
working-directory: ./src/runtime/c
|
working-directory: ./src/runtime/c
|
||||||
run: |
|
run: |
|
||||||
@@ -78,8 +67,6 @@ jobs:
|
|||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
libtool \
|
libtool \
|
||||||
# make \
|
|
||||||
# g++
|
|
||||||
|
|
||||||
- name: Build C runtime
|
- name: Build C runtime
|
||||||
working-directory: ./src/runtime/c
|
working-directory: ./src/runtime/c
|
||||||
@@ -102,25 +89,3 @@ jobs:
|
|||||||
LD_LIBRARY_PATH: /usr/local/lib
|
LD_LIBRARY_PATH: /usr/local/lib
|
||||||
run: |
|
run: |
|
||||||
cabal test --extra-lib-dirs=/usr/local/lib
|
cabal test --extra-lib-dirs=/usr/local/lib
|
||||||
|
|
||||||
# - name: Install Python bindings
|
|
||||||
# working-directory: ./src/runtime/python
|
|
||||||
# run: |
|
|
||||||
# python setup.py build
|
|
||||||
# sudo python setup.py install
|
|
||||||
#
|
|
||||||
# - name: Run Python testsuite
|
|
||||||
# working-directory: ./src/runtime/python
|
|
||||||
# env:
|
|
||||||
# LD_LIBRARY_PATH: /usr/local/lib
|
|
||||||
# run: |
|
|
||||||
# pip install pytest
|
|
||||||
# pytest
|
|
||||||
#
|
|
||||||
# - name: Run JavaScript testsuite
|
|
||||||
# working-directory: ./src/runtime/javascript
|
|
||||||
# env:
|
|
||||||
# LD_LIBRARY_PATH: /usr/local/lib
|
|
||||||
# run: |
|
|
||||||
# npm ci
|
|
||||||
# npm run test
|
|
||||||
|
|||||||
@@ -17,16 +17,24 @@ g++
|
|||||||
|
|
||||||
- Install XCode from App Store
|
- Install XCode from App Store
|
||||||
- Install XCode command line tools: `xcode-select --install`
|
- Install XCode command line tools: `xcode-select --install`
|
||||||
|
- Required system packages (`brew install ...`):
|
||||||
|
```
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
libtool
|
||||||
|
```
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Installing the runtime (puts libraries in `/usr/local/lib`):
|
**Note for macOS**: you should first run `glibtoolize`, followed by the commands below.
|
||||||
|
|
||||||
```
|
```
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
```
|
```
|
||||||
|
The shared libraries are installed in `/usr/local/lib`.
|
||||||
|
|
||||||
## Using
|
## Using
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user