Verify Cabal functionality for various installs

This patch adds functionality to

* Test cabal build and cabal run in the CI workflow
* Test GHC 7.10.3 on Linux and ensures that it works
* On Linux, try hvr's PPA before ghcup
This commit is contained in:
Jared Weakly
2020-03-30 08:20:24 -07:00
parent 5fd55ef5c0
commit 28eaec6120
7 changed files with 61 additions and 14 deletions

View File

@@ -0,0 +1,4 @@
module Main where
main :: IO ()
main = putStrLn "Hello, Haskell!"

View File

@@ -0,0 +1,2 @@
import Distribution.Simple
main = defaultMain

View File

@@ -0,0 +1,9 @@
cabal-version: >=1.10
name: project
version: 0.1.0.0
build-type: Simple
executable project
main-is: Main.hs
build-depends: base
default-language: Haskell2010