Skip to content

Commit

Permalink
Try installing LLVM.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles committed May 1, 2024
1 parent 0924fc9 commit ce66f88
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,26 @@ jobs:
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
${{ env.cabal-build-dir }}
- name: Tools
if: matrix.os == 'macOS-latest'
run: >
brew install llvm@13
export PATH="/opt/homebrew/opt/llvm@13/bin:$PATH"

This comment has been minimized.

Copy link
@andreasabel

andreasabel May 3, 2024

To extend the PATH, append the file $GITHUB_PATH, e.g.

echo opt/homebrew/opt/llvm@13/bin >> "${GITHUB_PATH}"
export LDFLAGS="-L/opt/homebrew/opt/llvm@13/lib"

This comment has been minimized.

Copy link
@andreasabel

andreasabel May 3, 2024

To extend the environment, append the file $GITHUB_ENV, e.g.

echo "LDFLAGS=-L/opt/homebrew/opt/llvm@13/lib" >> "${GITHUB_ENV}"
export CPPFLAGS="-I/opt/homebrew/opt/llvm@13/include"
echo 'export PATH="/opt/homebrew/opt/llvm@13/bin:$PATH"'
>> /Users/runner/.bash_profile
echo 'export LDFLAGS="-L/opt/homebrew/opt/llvm@13/lib"'
>> /Users/runner/.bash_profile
echo 'export CPPFLAGS="-I/opt/homebrew/opt/llvm@13/include"'
>> /Users/runner/.bash_profile
- name: Dependencies
run: >
cabal build all
Expand Down

0 comments on commit ce66f88

Please sign in to comment.