Skip to content

Commit

Permalink
touch
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed Apr 29, 2024
1 parent d1f30b5 commit c104280
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,24 @@ jobs:
f+${{ matrix.os }}
g+${{ (startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && github.run_id) || github.event.pull_request.number || github.ref }}
- name: Install haskell (macos)
if: startsWith(matrix.os, 'macos')
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}

- name: Install ghcup on macos
if: startsWith(matrix.os, 'macos')
shell: bash
run: |
GHCUP_DIR=$(dirname $(find "$HOME" -name ghcup -type f | head -n 1 | xargs) | xargs)
echo "GHCUP_DIR=$GHCUP_DIR" | tee -a $GITHUB_ENV
echo "PATH=$GHCUP_DIR:$PATH" | tee -a $GITHUB_ENV
- name: Ghcup version
run: ghcup --version

- name: Install Haskell
uses: input-output-hk/actions/haskell@latest
id: setup-haskell
Expand All @@ -75,6 +93,22 @@ jobs:
with:
use-sodium-vrf: true # default is true

- name: "Re-install openssl on Windows"
if: runner.os == 'Windows'
shell: C:/msys64/usr/bin/bash.exe -e '{0}'
env:
MSYSTEM: MINGW64
# do not ever change to $HOME by yourself.
CHERE_INVOKING: 1
# do we want to inherit the path?
# MSYS2_PATH_TYPE: inherit
run: |
/usr/bin/pacman --noconfirm -R mingw-w64-x86_64-openssl
curl -O https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-openssl-3.2.1-1-any.pkg.tar.zst
/usr/bin/pacman --noconfirm -U mingw-w64-x86_64-openssl-3.2.1-1-any.pkg.tar.zst
- uses: actions/checkout@v4

- name: Cabal update
Expand Down

0 comments on commit c104280

Please sign in to comment.