mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-21 09:02:50 -06:00
Add tests to CI
This commit is contained in:
34
.github/workflows/build-majestic.yml
vendored
34
.github/workflows/build-majestic.yml
vendored
@@ -11,20 +11,32 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install build tools
|
# All these are already available in GitHub runner
|
||||||
run: |
|
# - name: Install build tools
|
||||||
sudo apt-get update
|
# run: |
|
||||||
sudo apt-get install -y \
|
# sudo apt-get update
|
||||||
autoconf \
|
# sudo apt-get install -y \
|
||||||
automake \
|
# autoconf \
|
||||||
autotools-dev \
|
# automake \
|
||||||
g++ \
|
# libtool \
|
||||||
libtool \
|
# make \
|
||||||
make
|
# g++
|
||||||
|
|
||||||
- name: Build package
|
- name: Build runtime
|
||||||
working-directory: ./src/runtime/c
|
working-directory: ./src/runtime/c
|
||||||
run: |
|
run: |
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
|
make install
|
||||||
|
|
||||||
|
- name: Setup Haskell
|
||||||
|
uses: haskell/actions/setup@v1
|
||||||
|
# with:
|
||||||
|
# ghc-version: '8.6'
|
||||||
|
# cabal-version: '2.4.1.0'
|
||||||
|
|
||||||
|
- name: Run testsuite
|
||||||
|
working-directory: ./src/runtime/haskell
|
||||||
|
run: |
|
||||||
|
cabal test
|
||||||
|
|||||||
Reference in New Issue
Block a user