Skip to content

Commit

Permalink
CI Haskell fix for macOS build (#1908)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Cadman <[email protected]>
  • Loading branch information
jonaprieto and paulcadman authored Mar 21, 2023
1 parent 72f1586 commit 6a53802
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,17 +241,11 @@ jobs:
path: main
submodules: true

- name: Set homebrew LLVM CC and LIBTOOL vars (macOS)
run: |
echo "CC=$(brew --prefix llvm)/bin/clang" >> $GITHUB_ENV
echo "LIBTOOL=$(brew --prefix llvm)/bin/llvm-ar" >> $GITHUB_ENV
- name: Install ICU4C
run: |
brew install icu4c
brew link icu4c --force
- name: Download and extract wasi-sysroot
run: >
curl
Expand All @@ -277,10 +271,6 @@ jobs:
echo "CC=$(brew --prefix llvm)/bin/clang" >> $GITHUB_ENV
echo "LIBTOOL=$(brew --prefix llvm)/bin/llvm-ar" >> $GITHUB_ENV
- name: Add homebrew clang to the PATH (macOS)
run: |
echo "$(brew --prefix llvm)/bin" >> $GITHUB_PATH
- name: Make runtime
run: |
cd main
Expand All @@ -292,6 +282,10 @@ jobs:
working-directory: main
test: false

- name: Add homebrew clang to the PATH (macOS)
run: |
echo "$(brew --prefix llvm)/bin" >> $GITHUB_PATH
- name: Test suite (macOS)
if: ${{ success() }}
run: |
Expand Down

0 comments on commit 6a53802

Please sign in to comment.