File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -273,13 +273,18 @@ jobs:
273
273
274
274
- name : Run build
275
275
run : |
276
- bash .github/scripts/brew.sh git coreutils llvm@11 autoconf automake tree
277
- export PATH="$HOME/.brew/bin:$HOME/.brew/sbin:$HOME/.brew/opt/llvm@11/bin:$PATH"
278
- export CC="$HOME/.brew/opt/llvm@11/bin/clang"
279
- export CXX="$HOME/.brew/opt/llvm@11/bin/clang++"
276
+ if test "${GHC_VERSION}" = "8.10.7"; then
277
+ bash .github/scripts/brew.sh git coreutils llvm@11 autoconf automake tree
278
+ export PATH="$HOME/.brew/bin:$HOME/.brew/sbin:$HOME/.brew/opt/llvm@11/bin:$PATH"
279
+ export CC="$HOME/.brew/opt/llvm@11/bin/clang"
280
+ export CXX="$HOME/.brew/opt/llvm@11/bin/clang++"
281
+ export AR="$HOME/.brew/opt/llvm@11/bin/llvm-ar"
282
+ export RANLIB="$HOME/.brew/opt/llvm@11/bin/llvm-ranlib"
283
+ else
284
+ bash .github/scripts/brew.sh git coreutils autoconf automake tree
285
+ export PATH="$HOME/.brew/bin:$HOME/.brew/sbin:$PATH"
286
+ fi
280
287
export LD=ld
281
- export AR="$HOME/.brew/opt/llvm@11/bin/llvm-ar"
282
- export RANLIB="$HOME/.brew/opt/llvm@11/bin/llvm-ranlib"
283
288
bash .github/scripts/build.sh
284
289
tar cf out-${ARTIFACT}-${GHC_VERSION}.tar out/ store/
285
290
env :
You can’t perform that action at this time.
0 commit comments