mirror of
https://github.com/anoma/juvix.git
synced 2025-01-03 13:03:25 +03:00
CI Haskell fix for macOS build (#1908)
Co-authored-by: Paul Cadman <git@paulcadman.dev>
This commit is contained in:
parent
72f1586d12
commit
6a538029e1
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -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
|
||||
@ -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
|
||||
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user