Skip to content

Checkout submodules in github action #2

Checkout submodules in github action

Checkout submodules in github action #2

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.6.5'] # bootstrapping compiler
steps:
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
id: setup
name: Setup Haskell tools
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: "latest"
cabal-update: true
- name: Checkout submodules
run: |
git submodules update --init --recursive
- name: Configure the build
run: |
./boot
./configure
- name: Build
run: |
./hadrian/build --flavour=release binary-dist-dir