Files
gf-core/.github/workflows/build-majestic.yml
John J. Camilleri 8877243701 Add tests to CI
2021-08-13 09:51:10 +02:00

43 lines
832 B
YAML

name: Build majestic runtime
on: push
jobs:
ubuntu:
name: Build on Ubuntu
runs-on: ubuntu-20.04
steps:
- 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 runtime
working-directory: ./src/runtime/c
run: |
autoreconf -i
./configure
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