1
1
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:
Jonathan Cubides 2023-03-21 19:16:24 +01:00 committed by GitHub
parent 72f1586d12
commit 6a538029e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: |