Skip to content

Commit

Permalink
CI: stack no longer preinstalled on macos-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed May 3, 2024
1 parent 3b34762 commit 7e3c61d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ defaults:

jobs:
stack:
name: ${{ matrix.os }} Stack ${{ matrix.plan.resolver }} / ${{ matrix.plan.ghc }}
name: ${{ matrix.os }} Stack ${{ matrix.plan.resolver }}
strategy:
fail-fast: false
matrix:
Expand All @@ -33,6 +33,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: haskell-actions/setup@v2
with:
enable-stack: true
stack-no-global: true

- name: Configure
run: |
$STACK init
Expand All @@ -53,7 +58,7 @@ jobs:
# echo "STACK_ROOT=${STACK_ROOT}" >> "${GITHUB_ENV}"

- name: Set up for the ICU library (macOS)
if: ${{ runner.os == 'macOS' }}
if: runner.os == 'macOS'
run: |
ICU4C=$(brew --prefix)/opt/icu4c
echo "PKG_CONFIG_PATH=${ICU4C}/lib/pkgconfig" >> "${GITHUB_ENV}"
Expand Down

0 comments on commit 7e3c61d

Please sign in to comment.