Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
12e544faf8
|
6
.github/workflows/bindists.yaml
vendored
6
.github/workflows/bindists.yaml
vendored
@@ -60,12 +60,6 @@ jobs:
|
|||||||
- image: fedora:latest
|
- image: fedora:latest
|
||||||
installCmd: dnf install -y
|
installCmd: dnf install -y
|
||||||
toolRequirements: which gcc g++ gmp gmp-devel make ncurses ncurses-compat-libs xz perl
|
toolRequirements: which gcc g++ gmp gmp-devel make ncurses ncurses-compat-libs xz perl
|
||||||
- image: linuxmintd/mint19.3-amd64
|
|
||||||
installCmd: apt-get update && apt-get install -y
|
|
||||||
toolRequirements: build-essential curl libffi-dev libffi6 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5
|
|
||||||
- image: linuxmintd/mint20.2-amd64
|
|
||||||
installCmd: apt-get update && apt-get install -y
|
|
||||||
toolRequirements: build-essential curl libffi-dev libffi7 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5
|
|
||||||
container:
|
container:
|
||||||
image: ${{ matrix.image }}
|
image: ${{ matrix.image }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
20
.github/workflows/install-bindist.sh
vendored
20
.github/workflows/install-bindist.sh
vendored
@@ -12,29 +12,15 @@ which ghcup | grep foobarbaz
|
|||||||
|
|
||||||
ghcup -v --url-source=file:$METADATA_FILE install $TOOL --set $VERSION
|
ghcup -v --url-source=file:$METADATA_FILE install $TOOL --set $VERSION
|
||||||
|
|
||||||
cat <<EOF > main.hs
|
|
||||||
{- cabal:
|
|
||||||
build-depends: base
|
|
||||||
-}
|
|
||||||
|
|
||||||
main = print $ 1 + 1
|
|
||||||
EOF
|
|
||||||
|
|
||||||
case $TOOL in
|
case $TOOL in
|
||||||
hls)
|
hls)
|
||||||
haskell-language-server-wrapper --version
|
haskell-language-server-wrapper --version
|
||||||
haskell-language-server-wrapper typecheck main.hs
|
|
||||||
;;
|
;;
|
||||||
ghc)
|
ghc)
|
||||||
ghc --version
|
ghc --version
|
||||||
ghc --info
|
echo 'main = print $ 1 + 1' > main.hs
|
||||||
ghc -prof main.hs
|
ghc main.hs
|
||||||
[[ $(./main +RTS -s) -eq 2 ]]
|
[[ $(./main) -eq 2 ]]
|
||||||
;;
|
|
||||||
cabal)
|
|
||||||
cabal --version
|
|
||||||
cabal update
|
|
||||||
[[ $(cabal --verbose=0 run --enable-profiling ./main.hs -- +RTS -s) -eq 2 ]]
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
$TOOL --version
|
$TOOL --version
|
||||||
|
|||||||
@@ -2499,7 +2499,7 @@ ghcupDownloads:
|
|||||||
Linux_RedHat:
|
Linux_RedHat:
|
||||||
unknown_versioning: *ghc-941-64-centos
|
unknown_versioning: *ghc-941-64-centos
|
||||||
Linux_UnknownLinux:
|
Linux_UnknownLinux:
|
||||||
unknown_versioning: *ghc-941-64-fedora
|
unknown_versioning: *ghc-941-64-centos
|
||||||
Darwin:
|
Darwin:
|
||||||
unknown_versioning:
|
unknown_versioning:
|
||||||
dlUri: https://downloads.haskell.org/ghcup/unofficial-bindists/ghc/curated/9.4.1/ghc-9.4.1-x86_64-apple-darwin.tar.xz
|
dlUri: https://downloads.haskell.org/ghcup/unofficial-bindists/ghc/curated/9.4.1/ghc-9.4.1-x86_64-apple-darwin.tar.xz
|
||||||
@@ -2586,7 +2586,7 @@ ghcupDownloads:
|
|||||||
Linux_RedHat:
|
Linux_RedHat:
|
||||||
unknown_versioning: *ghc-942-64-centos
|
unknown_versioning: *ghc-942-64-centos
|
||||||
Linux_UnknownLinux:
|
Linux_UnknownLinux:
|
||||||
unknown_versioning: *ghc-942-64-fedora
|
unknown_versioning: *ghc-942-64-centos
|
||||||
Darwin:
|
Darwin:
|
||||||
unknown_versioning:
|
unknown_versioning:
|
||||||
dlUri: https://downloads.haskell.org/~ghc/9.4.2/ghc-9.4.2-x86_64-apple-darwin.tar.xz
|
dlUri: https://downloads.haskell.org/~ghc/9.4.2/ghc-9.4.2-x86_64-apple-darwin.tar.xz
|
||||||
|
|||||||
Reference in New Issue
Block a user