Skip to content

Add build-tools: hsc2hs #33

Add build-tools: hsc2hs

Add build-tools: hsc2hs #33

Workflow file for this run

name: other
on:
- push
- pull_request
defaults:
run:
shell: bash
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [windows-latest, macOS-latest]
ghc: ['latest']
steps:
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
cabal-update: true
- uses: actions/cache@v3
name: Cache cabal stuff
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-ghc-${{ steps.setup-haskell-cabal.outputs.ghc-version }}
- name: Build
run: |
cabal sdist -z -o .
cabal get zlib-*.tar.gz
cd zlib-*/
cabal build
- name: Haddock
run: |
cd zlib-*/
cabal haddock