Skip to content

Commit

Permalink
ci: more
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Aug 22, 2024
1 parent b752eef commit 6752c87
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
# For older GHCs
brew install llvm@13 --quiet # Suppress deprecation warning
echo /opt/homebrew/opt/llvm@13/bin >> $GITHUB_PATH
# https://gitlab.haskell.org/ghc/ghc/-/issues/20592#note_391266
echo "C_INCLUDE_PATH=`xcrun --show-sdk-path`/usr/include/ffi" >> "$GITHUB_ENV"
- name: Build
run: |
Expand Down Expand Up @@ -96,6 +98,16 @@ jobs:
path: ~/.stack
key: ${{ runner.os }}-${{ matrix.resolver }}-stack-key2

- name: Install dependencies (macOS)
if: runner.os == 'macOS'
run: |
brew update
# For older GHCs
brew install llvm@13 --quiet # Suppress deprecation warning
echo /opt/homebrew/opt/llvm@13/bin >> $GITHUB_PATH
# https://gitlab.haskell.org/ghc/ghc/-/issues/20592#note_391266
echo "C_INCLUDE_PATH=`xcrun --show-sdk-path`/usr/include/ffi" >> "$GITHUB_ENV"
- name: Build
run: |
stack build $STACK_EXTRA_ARGS --test --bench --no-run-tests --no-run-benchmarks
Expand Down

0 comments on commit 6752c87

Please sign in to comment.