Skip to content

Commit

Permalink
install GHCup on MacOS
Browse files Browse the repository at this point in the history
kokobd committed Oct 26, 2024
1 parent b912386 commit c1eeb12
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -24,11 +24,19 @@ jobs:
shell: bash
steps:
- uses: actions/checkout@v3
- name: Install GHCup on MacOS
if: matrix.os == 'macos-latest'
run: |
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_MINIMAL=1 sh
source ~/.ghcup/env
- name: Upgrade GHCup on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
ghcup upgrade
- name: Install Tools
env:
GHCUP_CURL_OPTS: "--suppress-connect-headers"
run: |
ghcup upgrade
ghcup list
ghcup rm ghc ${{ matrix.ghc }} || true
ghcup install ghc ${{ matrix.ghc }} --set

0 comments on commit c1eeb12

Please sign in to comment.