mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+test ghc
This commit is contained in:
parent
181090c2aa
commit
ac25a93fff
|
@ -27,10 +27,10 @@ provides:
|
|||
dependencies:
|
||||
gnu.org/gmp: 6
|
||||
invisible-island.net/ncurses: 6
|
||||
tea.xyz/gx/cc: c99 # ghc uses `gcc` as part of its build process
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
gnu.org/autoconf: ^2
|
||||
gnu.org/automake: ^1 # `aclocal` is used during the build for some reason
|
||||
tea.xyz/gx/make: '*' #FIXME specifically, gnu make is *required*
|
||||
|
@ -72,5 +72,9 @@ build:
|
|||
|
||||
hadrian/build -j install --prefix={{ prefix }} --docs=none
|
||||
|
||||
|
||||
test: true # FIXME
|
||||
test:
|
||||
script: |
|
||||
out=$(runghc $FIXTURE)
|
||||
test "$out" = "Hello World"
|
||||
fixture:
|
||||
main = putStrLn "Hello World"
|
||||
|
|
Loading…
Reference in a new issue