dev: ci: binaries-mac-x64: try ghc from haskell.org
This commit is contained in:
parent
4c041b73b7
commit
81ef3b38b4
23
.github/workflows/binaries-mac-x64.yml
vendored
23
.github/workflows/binaries-mac-x64.yml
vendored
@ -117,11 +117,26 @@ jobs:
|
|||||||
stack --version
|
stack --version
|
||||||
if: env.CONTINUE
|
if: env.CONTINUE
|
||||||
|
|
||||||
- name: Install GHC
|
# - name: Install GHC (with stack)
|
||||||
env:
|
# env:
|
||||||
stack: ${{ matrix.plan.stack }}
|
# stack: ${{ matrix.plan.stack }}
|
||||||
|
# run: |
|
||||||
|
# $stack setup --install-ghc
|
||||||
|
# if: env.CONTINUE
|
||||||
|
# stack's ghc 9.2.4 failing with InvalidAbsFile "/Users/runner/.stack/programs/x86_64-osx/ghc-9.2.3/lib/ghc-9.2.3/lib/../lib/x86_64-osx-ghc-9.2.3/rts-1.0.2/include/ghcversion.h"
|
||||||
|
|
||||||
|
# - name: Install GHC (with ghcup)
|
||||||
|
# run: |
|
||||||
|
# mkdir -p ~/.ghcup/bin && curl -sL https://downloads.haskell.org/~ghcup/x86_64-apple-darwin-ghcup > ~/.ghcup/bin/ghcup && chmod +x ~/.ghcup/bin/ghcup
|
||||||
|
# ~/.ghcup/bin/ghcup install --set ghc 9.2.4 # && ~/.ghcup/bin/ghcup install stack
|
||||||
|
# echo "$HOME/.ghcup/bin/" >> $GITHUB_PATH
|
||||||
|
# if: env.CONTINUE
|
||||||
|
|
||||||
|
- name: Install GHC (from haskell.org)
|
||||||
run: |
|
run: |
|
||||||
$stack setup --install-ghc
|
curl -sL https://downloads.haskell.org/~ghc/9.2.4/ghc-9.2.4-x86_64-apple-darwin.tar.xz | tar xj && cd ghc-9.2.4-x86_64-apple-darwin && ./configure && make install
|
||||||
|
ghc --version
|
||||||
|
mkdir -p ~/.stack && printf "system-ghc: true\ninstall-ghc: false\n" >>~/.stack/config.yaml
|
||||||
if: env.CONTINUE
|
if: env.CONTINUE
|
||||||
|
|
||||||
- name: Install haskell deps
|
- name: Install haskell deps
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user