Skip to content

Build GHC with cabal-install and a Makefile #51

Build GHC with cabal-install and a Makefile

Build GHC with cabal-install and a Makefile #51

Workflow file for this run

name: CI
# Trigger the workflow on push or pull request, but only for the master branch
on:
pull_request:
types:
- opened
- synchronize
push:
branches: [master]
jobs:
cabal:
name: ${{ matrix.os }} / ghc ${{ matrix.ghc }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ghc: ['9.8.4'] # bootstrapping compiler
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- uses: haskell-actions/setup@v2
id: setup
name: Setup Haskell tools
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: "latest"
cabal-update: true
- name: Configure the build
run: ./boot
- name: Build patched cabal
run: make cabal
- name: Build the bindist
run: make