diff --git a/.github/workflows/binaries-mac-x64.yml b/.github/workflows/binaries-mac-x64.yml index b18913219..e01e06a09 100644 --- a/.github/workflows/binaries-mac-x64.yml +++ b/.github/workflows/binaries-mac-x64.yml @@ -117,11 +117,26 @@ jobs: stack --version if: env.CONTINUE - - name: Install GHC - env: - stack: ${{ matrix.plan.stack }} + # - name: Install GHC (with stack) + # env: + # 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: | - $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 - name: Install haskell deps