Skip to content

Commit 294c0da

Browse files
committed
Update OSX CI clang to 14.0.1
1 parent fef8fb4 commit 294c0da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -331,14 +331,14 @@ jobs:
331331
run: rustup target install aarch64-apple-darwin
332332
- name: Fetch upstream LLVM/clang snapshot
333333
run: |
334-
wget -O clang+llvm-14.0.0-x86_64-apple-darwin.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.0/clang+llvm-14.0.0-x86_64-apple-darwin.tar.xz
335-
if [ "$(shasum -a 256 clang+llvm-14.0.0-x86_64-apple-darwin.tar.xz | awk '{ print $1 }')" != "cf5af0f32d78dcf4413ef6966abbfd5b1445fe80bba57f2ff8a08f77e672b9b3" ]; then
334+
wget -O clang+llvm-14.0.1-x86_64-apple-darwin.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.1/clang+llvm-14.0.1-x86_64-apple-darwin.tar.xz
335+
if [ "$(shasum -a 256 clang+llvm-14.0.1-x86_64-apple-darwin.tar.xz | awk '{ print $1 }')" != "43149390e95b1cdbf1d4ef2e9d214bbb6d35858ceb2df27245868e06bc4fc44c" ]; then
336336
echo "Bad hash"
337337
exit 1
338338
fi
339339
- name: Unpack upstream LLVM+clang and use it by default
340340
run: |
341-
tar xvvf clang+llvm-14.0.0-x86_64-apple-darwin.tar.xz
341+
tar xvvf clang+llvm-14.0.1-x86_64-apple-darwin.tar.xz
342342
- name: Checkout source code
343343
uses: actions/checkout@v2
344344
with:
@@ -360,7 +360,7 @@ jobs:
360360
- name: Rebuild C bindings with upstream clang, and check the sample app builds + links
361361
run: |
362362
cd ldk-c-bindings
363-
export PATH=`pwd`/clang+llvm-14.0.0-x86_64-apple-darwin/bin:$PATH
363+
export PATH=`pwd`/clang+llvm-14.0.1-x86_64-apple-darwin/bin:$PATH
364364
CC=clang ./genbindings.sh ../rust-lightning true
365365
cd ..
366366
- name: Fetch OpenJDK 16
@@ -390,7 +390,7 @@ jobs:
390390
export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)"
391391
export JAVA_HOME=`pwd`/jdk-16.0.1.jdk/Contents/Home
392392
export PATH=$JAVA_HOME/bin:$PATH
393-
export PATH=`pwd`/clang+llvm-14.0.0-x86_64-apple-darwin/bin:$PATH
393+
export PATH=`pwd`/clang+llvm-14.0.1-x86_64-apple-darwin/bin:$PATH
394394
./genbindings.sh ./ldk-c-bindings/ "-I$JAVA_HOME/include/ -I$JAVA_HOME/include/darwin -isysroot$(xcrun --show-sdk-path)" false false
395395
if [ "${{ matrix.platform }}" = "macos-11" ]; then
396396
export CC="clang --target=aarch64-apple-darwin"

0 commit comments

Comments
 (0)